mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
CI: Fix warnings
This commit is contained in:
committed by
Kyle Johannes
parent
0497b361ef
commit
bddbcfcf6d
@@ -161,7 +161,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)) {
|
||||
|
||||
Reference in New Issue
Block a user