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:
parent
171d365edf
commit
2b31f85c9e
@ -393,7 +393,7 @@ read_line(char *buffer, int32 maxLength,
|
||||
int32 position = 0;
|
||||
int32 length = 0;
|
||||
bool done = false;
|
||||
char c;
|
||||
char c = 0;
|
||||
|
||||
char (*readChar)(void);
|
||||
if (sBlueScreenOutput)
|
||||
@ -403,7 +403,7 @@ read_line(char *buffer, int32 maxLength,
|
||||
|
||||
while (!done) {
|
||||
bool hasChar = false;
|
||||
for (int32 i = 0; i < kMaxDebuggerModules; i++) {
|
||||
for (uint32 i = 0; i < kMaxDebuggerModules; i++) {
|
||||
if (sDebuggerModules[i] && sDebuggerModules[i]->debugger_getchar) {
|
||||
int getChar = sDebuggerModules[i]->debugger_getchar();
|
||||
if (getChar >= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user