mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-05-03 06:17:09 +02:00
Add some consts as recommended by make cppcheck.
This commit is contained in:
+1
-1
@@ -443,7 +443,7 @@ static int TokStrCmp(Token const *t, char const *s)
|
||||
}
|
||||
|
||||
static void
|
||||
print_token(Token *tok)
|
||||
print_token(Token const *tok)
|
||||
{
|
||||
if (tok->MinLen < (int) strlen(tok->name)) {
|
||||
printf("%.*s\n", tok->MinLen, tok->name);
|
||||
|
||||
Reference in New Issue
Block a user