diff options
author | Jeremy Allison <jra@samba.org> | 2003-05-12 21:27:54 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-05-12 21:27:54 +0000 |
commit | 6abef0810007c317c3ee866eb3933ce2c696085f (patch) | |
tree | 348ad2c525417ac4b8144568d1cd60a0bde88663 /source3/utils | |
parent | 0e23ce6fe9543fa967ebd016a5738e6a7439790b (diff) | |
download | samba-6abef0810007c317c3ee866eb3933ce2c696085f.tar.gz samba-6abef0810007c317c3ee866eb3933ce2c696085f.tar.bz2 samba-6abef0810007c317c3ee866eb3933ce2c696085f.zip |
Fix obvious compiler warnings.
Jeremy.
(This used to be commit 2a6d0c2481c3c34351e57c30a85004babdbf99b0)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads.c | 2 | ||||
-rw-r--r-- | source3/utils/pdbedit.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 1a50f9d270..626db96994 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -159,7 +159,7 @@ retry: * extract the realm and convert to upper case. * This is only used to establish the connection. */ - if (cp = strchr(ads->auth.user_name, '@')) { + if ((cp = strchr(ads->auth.user_name, '@'))!=0) { *cp++ = '\0'; ads->auth.realm = smb_xstrdup(cp); strupper(ads->auth.realm); diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index 13f35e8880..9a45049bc5 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -112,7 +112,6 @@ static int export_groups (struct pdb_context *in, struct pdb_context *out) { static int print_sam_info (SAM_ACCOUNT *sam_pwent, BOOL verbosity, BOOL smbpwdstyle) { uid_t uid; - gid_t gid; time_t tmp; /* TODO: chaeck if entry is a user or a workstation */ |