treewide: try to use const char * for string literals

This commit is contained in:
Barnabás Pőcze 2023-09-16 17:47:35 +02:00
parent fc72208fa0
commit 436787d6ba
9 changed files with 20 additions and 17 deletions

View file

@ -843,7 +843,7 @@ static int parse_device(struct impl *this)
nextptr = device + 3;
for (value_index = 0; ; ++value_index) {
char *value_label;
const char *value_label;
switch (value_index) {
case 0: value_label = "card"; break;