Declared variable in the wrong spot. Don't know why gcc 3 accepted it.

This commit is contained in:
Brian Koropoff 2002-08-05 05:58:17 +00:00
parent 87f0f480e4
commit bdd0f69f17

View file

@ -129,14 +129,14 @@ GIB_Parse_Extract_Line (struct cbuf_s *cbuf)
{ {
int i; int i;
char c; char c;
if (GIB_DATA(cbuf)->ret.waiting) // Not ready for next line
return;
dstring_t *dstr = cbuf->buf; dstring_t *dstr = cbuf->buf;
if (GIB_DATA(cbuf)->ret.waiting ) // Not ready for the next line
return;
dstring_clearstr (cbuf->line); dstring_clearstr (cbuf->line);
for (i = 0; dstr->str[i]; i++) { for (i = 0; dstr->str[i]; i++) {
if (dstr->str[i] == '{') { if (dstr->str[i] == '{') {
if ((c = GIB_Parse_Match_Brace (dstr->str, &i))) { if ((c = GIB_Parse_Match_Brace (dstr->str, &i))) {