Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/unused-function'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 30 Oct 2018 06:43:46 +0000
(15:43 +0900)
committer
Junio 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
patch
|
diff1
|
diff2
|
blob
|
history
raw
|
compact
(merge:
48542e3
36da893
)
diff --combined
config.mak.dev
index 92d268137f61e825c1529e5eedca9e39c539dce2,cbe82320477af28f5aeac45764f18c938212b121..bbeeff44fe1e9b4a864cd0dc082906041d65de51
---
1
/
config.mak.dev
---
2
/
config.mak.dev
+++ b/
config.mak.dev
@@@
-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