Initialize the length to 0 to avoid a compiler warning
[sipe-libnice.git] / common.mk
blobc5a6ccd8cd540a309f31e10277b11fb7889aae96
2 ERROR_CFLAGS = \
3 $(LIBNICE_CFLAGS) \
4 -Wextra \
5 -Wundef \
6 -Wnested-externs \
7 -Wwrite-strings \
8 -Wpointer-arith \
9 -Wbad-function-cast \
10 -Wmissing-declarations \
11 -Wmissing-prototypes \
12 -Wstrict-prototypes \
13 -Wredundant-decls \
14 -Wno-unused-parameter \
15 -Wno-missing-field-initializers
16 # -Wold-style-definition -Winline -Wunreachable-code
18 CLEANFILES = *.gcno *.gcda
20 pkgincludedir = $(includedir)/nice
23 check-valgrind:
24 $(MAKE) TESTS_ENVIRONMENT="sh $$(cd "$(top_srcdir)" && pwd)/scripts/valgrind.sh" check
26 .PHONY: check-valgrind