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:
Kees van Reeuwijk
2010-01-27 10:23:58 +00:00
parent c6eb51d66a
commit 2ba237cd4e
14 changed files with 35 additions and 20 deletions

View File

@@ -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 {