minor warning elim

This commit is contained in:
Dwight Merriman
2010-04-28 17:39:09 -04:00
parent 4002e942bd
commit c8da89c5b6

View File

@@ -992,7 +992,7 @@ namespace mongo {
try {
val = c.toval( e );
}
catch ( InvalidUTF8Exception& e ){
catch ( InvalidUTF8Exception& ) {
JS_LeaveLocalRootScope( cx );
JS_ReportError( cx , "invalid utf8" );
return JS_FALSE;