summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-05-17 04:50:20 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-05-20 21:52:44 +1000
commite1b71f1c133fd43935135a44cdbbb7e912ff4279 (patch)
treee2352634f380b6ae26919e90621a95a68291296a /buildtools/wafsamba
parent61989aee31c6dbf5646579c4d774c5b1d7a7f74c (diff)
downloadsamba-e1b71f1c133fd43935135a44cdbbb7e912ff4279.tar.gz
samba-e1b71f1c133fd43935135a44cdbbb7e912ff4279.tar.bz2
samba-e1b71f1c133fd43935135a44cdbbb7e912ff4279.zip
buildtools: Fix compilation warnings
STATIC_%s_MODULES_PROTO is defined on the compilation command line by -DSTATIC_<something>_MODULES_PROTO which the compiler seems to turn into define STATIC_<something>_MODULES_PROTO 1 thus yielding a warning due to unused var Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_deps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
index 3220f3537d..74a70cff7e 100644
--- a/buildtools/wafsamba/samba_deps.py
+++ b/buildtools/wafsamba/samba_deps.py
@@ -224,7 +224,7 @@ def add_init_functions(self):
sname = sname.replace('/','_')
cflags.append('-DSTATIC_%s_MODULES=%s' % (sname, sentinel))
if sentinel == 'NULL':
- cflags.append('-DSTATIC_%s_MODULES_PROTO' % sname)
+ cflags.append('-DSTATIC_%s_MODULES_PROTO=' % sname)
self.ccflags = cflags
return