Fix null-unwind helper compilation.
authorErik Verbruggen <erik.verbruggen@me.com>
Wed, 27 Feb 2013 14:27:20 +0000 (15:27 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 27 Feb 2013 15:25:31 +0000 (16:25 +0100)
Change-Id: I82af0ae373157d412b138334c8d80fa6e17591df
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/v4/qv4unwindhelper.cpp

index 4d78474..32d5a8a 100644 (file)
@@ -29,9 +29,9 @@ using namespace QQmlJS::VM;
 UnwindHelper *UnwindHelper::create() { return 0; }
 UnwindHelper::UnwindHelper() {}
 UnwindHelper::~UnwindHelper() {}
-void UnwindHelper::registerFunction(Function *function);
-void UnwindHelper::registerFunctions(QVector<Function *> functions);
-void UnwindHelper::deregisterFunction(Function *function);
-void UnwindHelper::deregisterFunctions(QVector<Function *> functions);
+void UnwindHelper::registerFunction(Function *function) {Q_UNUSED(function);}
+void UnwindHelper::registerFunctions(QVector<Function *> functions) {Q_UNUSED(functions);}
+void UnwindHelper::deregisterFunction(Function *function) {Q_UNUSED(function);}
+void UnwindHelper::deregisterFunctions(QVector<Function *> functions) {Q_UNUSED(functions);}
 #endif // USE_NULL_HELPER