Fix two warnings caused by previous commit.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25811 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-06-05 22:18:31 +00:00
parent 171d365edf
commit 2b31f85c9e

View File

@ -393,7 +393,7 @@ read_line(char *buffer, int32 maxLength,
int32 position = 0; int32 position = 0;
int32 length = 0; int32 length = 0;
bool done = false; bool done = false;
char c; char c = 0;
char (*readChar)(void); char (*readChar)(void);
if (sBlueScreenOutput) if (sBlueScreenOutput)
@ -403,7 +403,7 @@ read_line(char *buffer, int32 maxLength,
while (!done) { while (!done) {
bool hasChar = false; bool hasChar = false;
for (int32 i = 0; i < kMaxDebuggerModules; i++) { for (uint32 i = 0; i < kMaxDebuggerModules; i++) {
if (sDebuggerModules[i] && sDebuggerModules[i]->debugger_getchar) { if (sDebuggerModules[i] && sDebuggerModules[i]->debugger_getchar) {
int getChar = sDebuggerModules[i]->debugger_getchar(); int getChar = sDebuggerModules[i]->debugger_getchar();
if (getChar >= 0) { if (getChar >= 0) {