Changing jerry_ref_unused_variables signature to take values by const reference.

This commit is contained in:
Ruben Ayrapetyan
2015-01-28 19:58:20 +03:00
parent 8b31156b5a
commit 94cb1c0e67
+1 -1
View File
@@ -126,7 +126,7 @@ extern void __noreturn jerry_unimplemented (const char *comment, const char *fil
/** /**
* Mark for unreachable points and unimplemented cases * Mark for unreachable points and unimplemented cases
*/ */
template<typename... values> extern void jerry_ref_unused_variables (values... unused); template<typename... values> extern void jerry_ref_unused_variables (const values & ... unused);
#if !defined (JERRY_NDEBUG) && defined (__TARGET_HOST) #if !defined (JERRY_NDEBUG) && defined (__TARGET_HOST)
#define JERRY_UNREACHABLE() \ #define JERRY_UNREACHABLE() \