diff options
author | Martin Schwenke <martin@meltin.net> | 2011-11-10 14:10:21 +1100 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2011-11-10 14:10:21 +1100 |
commit | aa3e368d3c2f909f303ac8393fae0bd272dffe24 (patch) | |
tree | 64023cafa4bc81526299413bcc3e7f4c06af7f70 /ctdb/Makefile.in | |
parent | 954726568ca702278f4c506940ade5fe4e28b1e9 (diff) | |
download | samba-aa3e368d3c2f909f303ac8393fae0bd272dffe24.tar.gz samba-aa3e368d3c2f909f303ac8393fae0bd272dffe24.tar.xz samba-aa3e368d3c2f909f303ac8393fae0bd272dffe24.zip |
Clean up warnings: add -Wno-format-zero-length to CFLAGS
There's an empty string passed to ctdb_event_script_callback() for
eventscript option arguments in ctdb_start_daemon() and this generates
a warning.
This type of warning seems pointless so let's switch it off.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 23c164926c5ec4da6d90a5bdcbf2d0100729b451)
Diffstat (limited to 'ctdb/Makefile.in')
-rwxr-xr-x | ctdb/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in index 8f26456c0e6..f93b456e6d2 100755 --- a/ctdb/Makefile.in +++ b/ctdb/Makefile.in @@ -37,7 +37,7 @@ CFLAGS=-g -I$(srcdir)/include -Iinclude -Ilib -Ilib/util -I$(srcdir) \ -I@tallocdir@ -I@tdbdir@/include -I@libreplacedir@ \ -DVARDIR=\"$(localstatedir)\" -DETCDIR=\"$(etcdir)\" \ -DLOGDIR=\"$(logdir)\" \ - -DUSE_MMAP=1 -DTEVENT_DEPRECATED_QUIET=1 @CFLAGS@ $(POPT_CFLAGS) + -DUSE_MMAP=1 -DTEVENT_DEPRECATED_QUIET=1 @CFLAGS@ -Wno-format-zero-length $(POPT_CFLAGS) LIB_FLAGS=@LDFLAGS@ -Llib @LIBS@ $(POPT_LIBS) @INFINIBAND_LIBS@ @CTDB_PCAP_LDFLAGS@ |