diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-15 15:52:30 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-15 15:52:30 -0700 |
commit | 48cd61d30ed46e2c61c0df9d510f50ae7a11accd (patch) | |
tree | 397b69594aef72f8a22f2eb8075eba8b29f77163 | |
parent | 06ae5243f302c79fa2fe9ebbf1fb212e2f830c18 (diff) | |
download | samba-48cd61d30ed46e2c61c0df9d510f50ae7a11accd.tar.gz samba-48cd61d30ed46e2c61c0df9d510f50ae7a11accd.tar.bz2 samba-48cd61d30ed46e2c61c0df9d510f50ae7a11accd.zip |
Fix warning messages for unused variables.
Jeremy.
(This used to be commit 406737cd9a34ac498e5823b380e1768d41e16c1b)
-rw-r--r-- | source3/lib/version.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/version.c b/source3/lib/version.c index 6e469956fa..9835ad4a9c 100644 --- a/source3/lib/version.c +++ b/source3/lib/version.c @@ -26,9 +26,11 @@ const char *samba_version_string(void) return SAMBA_VERSION_OFFICIAL_STRING; #else static fstring samba_version; - fstring tmp_version; static BOOL init_samba_version; +#ifdef SAMBA_VENDOR_PATCH + fstring tmp_version; size_t remaining; +#endif if (init_samba_version) return samba_version; |