Add missing return statement
authorLars Knoll <lars.knoll@digia.com>
Fri, 25 Jan 2013 11:16:45 +0000 (12:16 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Fri, 25 Jan 2013 11:19:06 +0000 (12:19 +0100)
Fixes crypto.js

Change-Id: If3b2d182b8e6a93acd2c32904e5b9a9fd49181cf
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qv4object.cpp

index 5b4aace..108ad48 100644 (file)
@@ -118,6 +118,7 @@ void Object::inplaceBinOp(Value rhs, Value index, BinOp op, ExecutionContext *ct
         Value v = __get__(ctx, idx, &hasProperty);
         v = op(v, rhs, ctx);
         __put__(ctx, idx, v);
+        return;
     }
     String *name = index.toString(ctx);
     assert(name);