summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-15 15:52:30 -0700
committerJeremy Allison <jra@samba.org>2007-10-15 15:52:30 -0700
commit406737cd9a34ac498e5823b380e1768d41e16c1b (patch)
tree7292270728956a15f0efda928fdabcaa67ff027e /source
parent357f00384994946485a5190b6a9c493aeee53cd2 (diff)
downloadsamba-406737cd9a34ac498e5823b380e1768d41e16c1b.tar.gz
samba-406737cd9a34ac498e5823b380e1768d41e16c1b.tar.xz
samba-406737cd9a34ac498e5823b380e1768d41e16c1b.zip
Fix warning messages for unused variables.
Jeremy.
Diffstat (limited to 'source')
-rw-r--r--source/lib/version.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/lib/version.c b/source/lib/version.c
index 6e469956fa6..9835ad4a9c6 100644
--- a/source/lib/version.c
+++ b/source/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;