diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-26 21:29:18 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-26 21:29:18 +0100 |
commit | 5398dd641cd296a3bc4762b6b6a00cc241c2d2a5 (patch) | |
tree | 3955415b53d40ac4ae32ceb6dcfe895805be3877 /source3 | |
parent | 4fd374f06302db5811693fefae6294fad98ef2e4 (diff) | |
download | samba-5398dd641cd296a3bc4762b6b6a00cc241c2d2a5.tar.gz samba-5398dd641cd296a3bc4762b6b6a00cc241c2d2a5.tar.bz2 samba-5398dd641cd296a3bc4762b6b6a00cc241c2d2a5.zip |
Fix uninitialized variables
Thanks to Corinna Vinschen
(This used to be commit aba8c17599f0be82cff33229bb107814d88faafe)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/trans2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index fb845220cd..1f7af82670 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2470,6 +2470,7 @@ static void samba_extended_info_version(struct smb_extended_info *extended_info) #ifdef SAMBA_VERSION_REVISION extended_info->samba_version |= (tolower(*SAMBA_VERSION_REVISION) - 'a' + 1) & 0xff; #endif + extended_info->samba_subversion = 0; #ifdef SAMBA_VERSION_RC_RELEASE extended_info->samba_subversion |= (SAMBA_VERSION_RC_RELEASE & 0xff) << 24; #else @@ -2480,7 +2481,7 @@ static void samba_extended_info_version(struct smb_extended_info *extended_info) #ifdef SAMBA_VERSION_VENDOR_PATCH extended_info->samba_subversion |= (SAMBA_VERSION_VENDOR_PATCH & 0xffff); #endif - /* FIXME: samba_gitcommitdate should contain the git commit date. */ + extended_info->samba_gitcommitdate = 0; #ifdef SAMBA_VERSION_GIT_COMMIT_TIME unix_to_nt_time(&extended_info->samba_gitcommitdate, SAMBA_VERSION_GIT_COMMIT_TIME); #endif |