Skip to content

Commit 198a43e

Browse files
committed
Removes redundant condition in Makefile.
1 parent 5500464 commit 198a43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

general/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ifeq ($(UNAME), Linux)
1010
#
1111
# Disable format-truncation check because StringBasics specifically tests
1212
# to make sure snprintf truncates as expected.
13-
USER_WARNINGS ?= -Werror -Wno-format-truncation $(shell if [ X$(CCVERSION) \> X7.0.0 ] ; then echo " -Wno-strict-overflow -Wno-format-truncation" ; elif [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-strict-overflow" ; fi)
13+
USER_WARNINGS ?= -Werror -Wno-format-truncation $(shell if [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-strict-overflow" ; fi)
1414
# USER_WARNINGS ?= -Werror $(shell if [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-strict-overflow" ; fi)
1515
#-Wno-strict-overflow
1616
# -Wno-unused-variable $(shell if [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-unused-result" ; fi)

0 commit comments

Comments
 (0)