Skip to content
Snippets Groups Projects
Commit 4c0f1734 authored by deuce's avatar deuce
Browse files

Fix warning (arrays can't be NULL)

parent aca09b57
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,6 @@ static JSBool js_server_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
switch(tiny) {
case SERVER_PROP_VER:
if(p->version!=NULL)
*vp = STRING_TO_JSVAL(JS_NewStringCopyZ(cx,p->version));
break;
case SERVER_PROP_VER_DETAIL:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment