Fixed a number of uses of uninitialized variables by adding assertions
or other sanity checks, code reshuffling, or fixing broken behavior.
This commit is contained in:
@@ -64,6 +64,10 @@ PUBLIC int main(int argc, char **argv)
|
||||
case TTY_PROC_NR:
|
||||
result = do_fkey_pressed(&m_in);
|
||||
break;
|
||||
default:
|
||||
/* FIXME: error message. */
|
||||
result = EDONTREPLY;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user