Skip to content
Snippets Groups Projects
Commit 25bb7f31 authored by rswindell's avatar rswindell
Browse files

Fixed compile warning.

parent f519e280
No related branches found
No related tags found
No related merge requests found
...@@ -1834,7 +1834,6 @@ JSObject* DLLCALL js_CreateSystemObject(JSContext* cx, JSObject* parent ...@@ -1834,7 +1834,6 @@ JSObject* DLLCALL js_CreateSystemObject(JSContext* cx, JSObject* parent
{ {
jsval val; jsval val;
JSObject* sysobj; JSObject* sysobj;
JSObject* statsobj;
JSString* js_str; JSString* js_str;
char str[256]; char str[256];
...@@ -1873,8 +1872,12 @@ JSObject* DLLCALL js_CreateSystemObject(JSContext* cx, JSObject* parent ...@@ -1873,8 +1872,12 @@ JSObject* DLLCALL js_CreateSystemObject(JSContext* cx, JSObject* parent
#endif #endif
#ifdef BUILD_JSDOCS #ifdef BUILD_JSDOCS
js_DescribeSyncObject(cx,statsobj,"System statistics",310); {
js_CreateArrayOfStrings(cx, statsobj, "_property_desc_list", sysstat_prop_desc, JSPROP_READONLY); JSObject* statsobj;
js_DescribeSyncObject(cx,statsobj,"System statistics",310);
js_CreateArrayOfStrings(cx, statsobj, "_property_desc_list", sysstat_prop_desc, JSPROP_READONLY);
}
#endif #endif
return(sysobj); return(sysobj);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment