diff options
author | Jeremy Allison <jra@samba.org> | 2004-11-24 01:03:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:25 -0500 |
commit | 90a18110e9c014ff33977be4656886b093c7e022 (patch) | |
tree | 25d41c526fa7235abc96c50fc11afba12dff0b81 /source3/utils | |
parent | b321a8a9ad5d2b8e276c97a4a057c5fbef8b5ff7 (diff) | |
download | samba-90a18110e9c014ff33977be4656886b093c7e022.tar.gz samba-90a18110e9c014ff33977be4656886b093c7e022.tar.bz2 samba-90a18110e9c014ff33977be4656886b093c7e022.zip |
r3931: Fix all "may be used uninitialized" and "shadow" warnings.
Jeremy.
(This used to be commit 8e979772a640bb4f00f4d72b6a9c837b8ef14333)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/status.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c index 122c6193f9..73cf2a2e29 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -50,20 +50,20 @@ static int show_brl; const char *username = NULL; /* added by OH */ -static void Ucrit_addUsername(const char *username) +static void Ucrit_addUsername(const char *user_name) { - pstrcpy(Ucrit_username, username); + pstrcpy(Ucrit_username, user_name); if ( strlen(Ucrit_username) > 0 ) Ucrit_IsActive = 1; } -static unsigned int Ucrit_checkUsername(const char *username) +static unsigned int Ucrit_checkUsername(const char *user_name) { if ( !Ucrit_IsActive ) return 1; - if ( strcmp(Ucrit_username,username) == 0 ) + if ( strcmp(Ucrit_username,user_name) == 0 ) return 1; return 0; |