CI: Fix warnings

This commit is contained in:
Kyle Schwarz
2023-12-01 22:20:41 +00:00
committed by Kyle Johannes
parent 0497b361ef
commit bddbcfcf6d
20 changed files with 87 additions and 283 deletions
+3 -1
View File
@@ -166,7 +166,9 @@ char getCharInput(int numArgs, ...) {
va_end(vaList);
while(!found) {
fgets(input, 99, stdin);
if(fgets(input, 99, stdin) == NULL) {
break;
}
if(strlen(input) == 2) {
for(int i = 0; i < numArgs; ++i) {
if(input[0] == *(list + i)) {