From 734793f53319adc847b9c1fda0e01a3a5c495201 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 23 Apr 2026 20:57:44 +0200 Subject: [PATCH] checksrc.pl: delete stray commas Closes #21426 --- scripts/checksrc.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/checksrc.pl b/scripts/checksrc.pl index 04b4793b41..6c900dae1b 100755 --- a/scripts/checksrc.pl +++ b/scripts/checksrc.pl @@ -141,7 +141,7 @@ my %banfunc = ( my %warnings_extended = ( 'COPYRIGHTYEAR' => 'copyright year incorrect', - 'STDERR', => 'stderr detected', + 'STDERR' => 'stderr detected', ); my %warnings = ( @@ -170,8 +170,8 @@ my %warnings = ( 'EXCLAMATIONSPACE' => 'Whitespace after exclamation mark in expression', 'FIXME' => 'FIXME or TODO comment', 'FOPENMODE' => 'fopen needs a macro for the mode string', - 'IFDEFSINGLE', => 'use ifdef/ifndef for single macro checks', - 'INCLUDEDUP', => 'same file is included again', + 'IFDEFSINGLE' => 'use ifdef/ifndef for single macro checks', + 'INCLUDEDUP' => 'same file is included again', 'INDENTATION' => 'wrong start column for code', 'LONGLINE' => "Line longer than $max_column", 'SPACEBEFORELABEL' => 'labels not at the start of the line', @@ -181,7 +181,7 @@ my %warnings = ( 'NOSPACEEQUALS' => 'equals sign without preceding space', 'NOSPACEQ' => 'missing space around ternary question mark operator', 'NOSPACETHAN' => 'missing space around less or greater than', - 'NOTEQUALSZERO', => 'if/while comparison with != 0', + 'NOTEQUALSZERO' => 'if/while comparison with != 0', 'ONELINECONDITION' => 'conditional block on the same line as the if()', 'OPENCOMMENT' => 'file ended with a /* comment still "open"', 'PARENBRACE' => '){ without sufficient space',