1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
/## Filter noise out of System V-style lint output./d
/## $Revision: 1.6 $/d
:top
/==============/ {
n
b top
}
/struct.union iovec never defined/ {
n
b eat
}
/name declared but never used or defined/ {
n
b eat
}
/name used but not defined/ {
n
b eat
}
/name defined but never used/ {
n
b eat
}
/possible pointer alignment problem/ {
n
b eat
}
/name multiply declared/ {
n
b eat
}
/implicitly declared to return int/ {
n
b eat
}
/function returns value which is always ignored/ {
n
b eat
}
/function returns value which is sometimes ignored/ {
n
b eat
}
/label without goto:/d
/bodyless if/d
/bodyless else/d
/./ {
p
n
b top
}
:eat
/^ / {
n
b eat
}
/./ {
b top
}
|