Skip to content

Commit 86c3134

Browse files
committed
autogen.sh: turn off a gcc warning
Yes, strncpy is a mess, but the warning here is not helping anyone and the code should be correct... Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8de2faa commit 86c3134

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autogen.sh

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ MYCFLAGS="-g -Wall \
1010
-Wnested-externs -Wpointer-arith \
1111
-Wpointer-arith -Wsign-compare -Wchar-subscripts \
1212
-Wstrict-prototypes -Wshadow \
13+
-Wno-stringop-truncation \
1314
-Wformat=2 -Wtype-limits"
1415

1516
case "$CFLAGS" in

0 commit comments

Comments
 (0)