GLK: JACL: Fix Missing Default Switch Cases

These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
D G Turner 2019-12-16 02:44:00 +00:00
parent d6c88b6a66
commit f13ea97bad
3 changed files with 6 additions and 0 deletions

View File

@ -3426,6 +3426,8 @@ int select_next() {
}
}
break;
default:
break;
}
}

View File

@ -176,6 +176,8 @@ int csv_fini(struct csv_parser *p, void (*cb1)(void *, size_t, void *), void (*c
SUBMIT_ROW(p, -1);
case ROW_NOT_BEGUN: /* Already ended properly */
;
default:
break;
}
/* Reset parser */

View File

@ -95,6 +95,8 @@ char *strip_return(char *string) {
case '\n':
string[index] = 0;
break;
default:
break;
}
}