mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 23:46:14 +00:00
Resolve warning: enumeration values not explicitly handled in switch
This commit is contained in:
parent
4a61a3fa6b
commit
7aca8bf599
@ -462,7 +462,9 @@ LispPTR Unix_handlecomm(LispPTR *args) {
|
||||
} else
|
||||
return (GetSmallp(1));
|
||||
|
||||
default: return (NIL);
|
||||
case UJSOCKET:
|
||||
case UJUNUSED:
|
||||
return (NIL);
|
||||
}
|
||||
break;
|
||||
|
||||
@ -503,7 +505,9 @@ LispPTR Unix_handlecomm(LispPTR *args) {
|
||||
DBPRINT(("Indicating EOF from PTY desc %d.\n", slot));
|
||||
return (NIL);
|
||||
|
||||
default: return (NIL);
|
||||
case UJSOCKET:
|
||||
case UJUNUSED:
|
||||
return (NIL);
|
||||
}
|
||||
|
||||
case 3: /* Kill process */
|
||||
@ -547,7 +551,9 @@ LispPTR Unix_handlecomm(LispPTR *args) {
|
||||
UJ[slot].pathname = NULL;
|
||||
}
|
||||
break;
|
||||
default: break;
|
||||
case UJSOSTREAM:
|
||||
case UJUNUSED:
|
||||
break;
|
||||
}
|
||||
UJ[slot].type = UJUNUSED;
|
||||
UJ[slot].PID = 0;
|
||||
@ -725,7 +731,9 @@ LispPTR Unix_handlecomm(LispPTR *args) {
|
||||
DBPRINT(("Indicating EOF from PTY desc %d.\n", slot));
|
||||
return (NIL);
|
||||
|
||||
default: return (NIL);
|
||||
case UJSOCKET:
|
||||
case UJUNUSED:
|
||||
return (NIL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user