Thu Dec 6 12:00:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>

* src/remote_internal.c: Clean up a warning if neither SASL
          nor PolKit are enabled.
This commit is contained in:
Richard W.M. Jones 2007-12-06 12:05:35 +00:00
parent 2ec759fc58
commit ec38eb9388
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Dec 6 12:00:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
* src/remote_internal.c: Clean up a warning if neither SASL
nor PolKit are enabled.
Thu Dec 6 12:41:18 CET 2007 Jim Meyering <meyering@redhat.com>
Build also on systems where -lreadline requires e.g., -lncurses.

View File

@ -2841,7 +2841,12 @@ remoteNetworkSetAutostart (virNetworkPtr network, int autostart)
static int
remoteAuthenticate (virConnectPtr conn, struct private_data *priv, int in_open,
virConnectAuthPtr auth, const char *authtype)
virConnectAuthPtr auth
#if !HAVE_SASL && !HAVE_POLKIT
ATTRIBUTE_UNUSED
#endif
,
const char *authtype)
{
struct remote_auth_list_ret ret;
int err, type = REMOTE_AUTH_NONE;