tweaks: mark as 'const' a parameter that takes fixed strings [coverity]

master
Benno Schulenberg 2019-10-01 14:57:42 +02:00
parent 4df2f81295
commit c8dc67717b
1 changed files with 1 additions and 1 deletions

View File

@ -1300,7 +1300,7 @@ void parse_one_nanorc(void)
jot_error(N_("Error reading %s: %s"), nanorc, strerror(errno));
}
bool have_nanorc(const char *path, char *name)
bool have_nanorc(const char *path, const char *name)
{
if (path == NULL)
return FALSE;