mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-01 22:32:40 +00:00
Resolve warning: enumeration values not explicitly handled in switch
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user