Merge branch 'jk/unused-function'
authorJunio C Hamano <gitster@pobox.com>
Tue, 30 Oct 2018 06:43:46 +0000 (15:43 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Oct 2018 06:43:46 +0000 (15:43 +0900)
Developer support.

* jk/unused-function:
config.mak.dev: enable -Wunused-function

1  2 
config.mak.dev
diff --combined config.mak.dev
index 92d268137f61e825c1529e5eedca9e39c539dce2,cbe82320477af28f5aeac45764f18c938212b121..bbeeff44fe1e9b4a864cd0dc082906041d65de51
@@@ -7,7 -7,6 +7,7 @@@ CFLAGS += -pedanti
  CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0
  endif
  CFLAGS += -Wdeclaration-after-statement
 +CFLAGS += -Wformat-security
  CFLAGS += -Wno-format-zero-length
  CFLAGS += -Wold-style-definition
  CFLAGS += -Woverflow
@@@ -34,7 -33,6 +34,6 @@@ ifeq ($(filter extra-all,$(DEVOPTS)),
  CFLAGS += -Wno-empty-body
  CFLAGS += -Wno-missing-field-initializers
  CFLAGS += -Wno-sign-compare
- CFLAGS += -Wno-unused-function
  CFLAGS += -Wno-unused-parameter
  endif
  endif