mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
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)
This commit is contained in:
parent
954726568c
commit
aa3e368d3c
@ -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@
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user