Remove unused variable (and compiler warning)
git-svn-id: svn://10.0.0.236/trunk@38475 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6e162f007d
commit
ae6533ee28
@ -951,8 +951,7 @@ static const char *kMethodBeginStr = "\n\n"
|
||||
"PR_STATIC_CALLBACK(JSBool)\n"
|
||||
"%s%s(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)\n"
|
||||
"{\n"
|
||||
" nsIDOM%s *nativeThis = (nsIDOM%s*)nsJSUtils::nsGetNativeThis(cx, obj);\n"
|
||||
" JSBool rBool = JS_FALSE;\n";
|
||||
" nsIDOM%s *nativeThis = (nsIDOM%s*)nsJSUtils::nsGetNativeThis(cx, obj);\n";
|
||||
|
||||
static const char *kMethodBeginNonPrimaryStr = "\n\n"
|
||||
"//\n"
|
||||
@ -967,8 +966,7 @@ static const char *kMethodBeginNonPrimaryStr = "\n\n"
|
||||
" JS_ReportError(cx, \"Object must be of type %s\");\n"
|
||||
" return JS_FALSE;\n"
|
||||
" }\n"
|
||||
"\n"
|
||||
" JSBool rBool = JS_FALSE;\n";
|
||||
"\n";
|
||||
|
||||
static const char *kMethodReturnStr =
|
||||
" %s nativeRet;\n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user