mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Argh.
This commit is contained in:
parent
f4ec0e5fa0
commit
e019755a59
@ -380,6 +380,7 @@ Process(JSContext *cx, JSObject *obj, char *filename, JSBool forceTTY)
|
||||
jsval result;
|
||||
JSString *str;
|
||||
char *buffer;
|
||||
size_t size;
|
||||
int lineno;
|
||||
int startline;
|
||||
FILE *file;
|
||||
@ -439,8 +440,9 @@ Process(JSContext *cx, JSObject *obj, char *filename, JSBool forceTTY)
|
||||
lineno = 1;
|
||||
hitEOF = JS_FALSE;
|
||||
buffer = NULL;
|
||||
size = 0; /* assign here to avoid warnings */
|
||||
do {
|
||||
size_t len = 0, size = 0; /* initialize to avoid warnings */
|
||||
size_t len = 0; /* initialize to avoid warnings */
|
||||
|
||||
/*
|
||||
* Accumulate lines until we get a 'compilable unit' - one that either
|
||||
|
Loading…
Reference in New Issue
Block a user