From: Hugo Villeneuve Date: Sun, 24 Nov 2013 18:08:42 +0000 (-0500) Subject: Move variable declaration before statements X-Git-Tag: v2.0.0~70 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ccb7a5d184831b0a67119e6fab06e559f3ae27f1;p=emu8051.git Move variable declaration before statements --- diff --git a/src/emuconsole.c b/src/emuconsole.c index f29bbc5..79df39a 100644 --- a/src/emuconsole.c +++ b/src/emuconsole.c @@ -211,7 +211,7 @@ console_main(void) { unsigned int Index; char *line = NULL; - + int QuitRequest = 0; char prompt[] = "-> "; char *Title[] = { " *******************", @@ -252,8 +252,6 @@ console_main(void) console_reset(); - int QuitRequest = 0; - while (!QuitRequest) { int slen; size_t len = 0;