]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
checksrc: allow disabling warnings on FIXME/TODO comments
authorViktor Szakats <commit@vsz.me>
Mon, 13 Oct 2025 11:44:23 +0000 (13:44 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 13 Oct 2025 14:11:10 +0000 (16:11 +0200)
Follow-up to 71ace9f3c16a434385fc27b3e8bffb52deb6ccd1

Closes #19048

scripts/checksrc.pl

index c424924e45724f1a75344a265b58a3b935674877..7059d68575006d62abe8950a0ba73962ad071527 100755 (executable)
@@ -134,6 +134,7 @@ my %warnings = (
     'EQUALSNULL'            => 'if/while comparison with == NULL',
     'ERRNOVAR'              => 'use of bare errno define',
     'EXCLAMATIONSPACE'      => 'Whitespace after exclamation mark in expression',
+    'FIXME'                 => 'FIXME or TODO comment',
     'FOPENMODE'             => 'fopen needs a macro for the mode string',
     'INCLUDEDUP',           => 'same file is included again',
     'INDENTATION'           => 'wrong start column for code',