mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Suppress a couple of cppcheck warnings.
All checks were successful
Remind unit tests / tests (push) Successful in 30s
All checks were successful
Remind unit tests / tests (push) Successful in 30s
This commit is contained in:
@@ -83,6 +83,8 @@ static void sigxcpu(int sig)
|
||||
int r = write(STDERR_FILENO, "\n\nmax-execution-time exceeded.\n\n", 32);
|
||||
|
||||
/* Pretend to use r to avoid compiler warning */
|
||||
/* cppcheck-suppress duplicateExpression */
|
||||
/* cppcheck-suppress knownArgument */
|
||||
_exit(1 + (r-r));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user