mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
8645aa94c8
I found that after fixing the args to `cppcheck` it started reporting lots of varFuncNullUB warnings. Suppress them as they should be safe to ignore. Also, improve the readability of the script.
5 lines
320 B
Text
5 lines
320 B
Text
// suppress all instances of varFuncNullUB: "Passing NULL after the last typed
|
|
// argument to a variadic function leads to undefined behaviour." That's
|
|
// because all the places we do this are valid and won't cause problems even
|
|
// on a ILP64 platform because we're careful about using NULL rather than 0.
|
|
varFuncNullUB
|