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

Fixed gcc "defined but not used" warnings.

parent d988d151
Branches
Tags
No related merge requests found
...@@ -300,12 +300,14 @@ DLLCALL js_DescribeSyncConstructor(JSContext* cx, JSObject* obj, const char* str ...@@ -300,12 +300,14 @@ DLLCALL js_DescribeSyncConstructor(JSContext* cx, JSObject* obj, const char* str
#ifdef _DEBUG #ifdef _DEBUG
#if 0
static char* server_prop_desc[] = { static char* server_prop_desc[] = {
"server name and version number" "server name and version number"
,"detailed version/build information" ,"detailed version/build information"
,NULL ,NULL
}; };
#endif
static const char* method_array_name = "_method_list"; static const char* method_array_name = "_method_list";
......
...@@ -582,6 +582,8 @@ js_ErrorReporter(JSContext *cx, const char *message, JSErrorReport *report) ...@@ -582,6 +582,8 @@ js_ErrorReporter(JSContext *cx, const char *message, JSErrorReport *report)
lprintf(LOG_ERR,"%04d %s !JavaScript %s%s%s: %s",sock,prot,warning,file,line,message); lprintf(LOG_ERR,"%04d %s !JavaScript %s%s%s: %s",sock,prot,warning,file,line,message);
} }
#if 0
/* Server Object Properites */ /* Server Object Properites */
enum { enum {
SERVER_PROP_TERMINATED SERVER_PROP_TERMINATED
...@@ -654,6 +656,8 @@ static JSClass js_server_class = { ...@@ -654,6 +656,8 @@ static JSClass js_server_class = {
,JS_FinalizeStub /* finalize */ ,JS_FinalizeStub /* finalize */
}; };
#endif
/* Server Methods */ /* Server Methods */
static JSBool static JSBool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment