mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-25 10:42:52 +02:00
Add some consts as recommended by make cppcheck.
This commit is contained in:
+1
-1
@@ -1063,7 +1063,7 @@ static void InitializeVar(char const *str)
|
||||
static void
|
||||
AddTrustedUser(char const *username)
|
||||
{
|
||||
struct passwd *pwent;
|
||||
struct passwd const *pwent;
|
||||
if (NumTrustedUsers >= MAX_TRUSTED_USERS) {
|
||||
fprintf(ErrFp, "Too many trusted users (%d max)\n",
|
||||
MAX_TRUSTED_USERS);
|
||||
|
||||
Reference in New Issue
Block a user