e2fsprogs/util/gcc-wall-cleanup
Theodore Ts'o d4ecec45ab libext2fs: use C99 initializers for the io_manager structure
Using C99 initializers makes the code a bit more readable, and it
avoids some gcc -Wall warnings regarding missing initializers.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2014-07-26 00:49:14 -04:00

22 lines
593 B
Sed

#!/bin/sed -f
#
# This script filters out gcc-wall crud that we're not interested in seeing.
#
/^cc /d
/^kcc /d
/^gcc /d
/does not support `long long'/d
/forbids long long integer constants/d
/does not support the `ll' length modifier/d
/does not support the `ll' printf length modifier/d
/ANSI C forbids long long integer constants/d
/traditional C rejects string concatenation/d
/integer constant is unsigned in ANSI C, signed with -traditional/d
/At top level:/d
/In file included from/d
/In function `.*':/d
/zero-length format string/d
/warning: (near initialization for/d
/^[ ]*from/d