Commit d850186d authored by deuce's avatar deuce
Browse files

Initialize path.

parent a563651f
......@@ -288,7 +288,7 @@ js_execfile(JSContext *cx, uintN argc, jsval *arglist)
size_t pathlen;
char* startup_dir = NULL;
uintN arg=0;
char path[MAX_PATH+1];
char path[MAX_PATH+1] = "";
JSObject* scope = JS_GetScopeChain(cx);
JSObject* js_scope = NULL;
JSObject* pscope;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment