Mark argument as pointer to const, since only the pointer changes (cppcheck recommendation).

This commit is contained in:
Andrew Wood
2026-05-10 19:17:12 +01:00
parent 6b5d217e22
commit 723d96b54b
+1 -1
View File
@@ -343,7 +343,7 @@ static bool opts_watchfd_listfile(opts_t opts, const char *filename)
linenumber = 0;
while (0 == feof(fptr)) {
char *argument;
const char *argument;
char *nlptr;
ssize_t line_length = 0;