Fix misc. compiler warnings (#2202)
JerryScript-DCO-1.0-Signed-off-by: Martijn The martijn.the@intel.com
This commit is contained in:
committed by
Zoltan Herczeg
parent
6fce323fa5
commit
b8656877e2
@@ -33,7 +33,8 @@ int main (void)
|
||||
jerry_value_t res = jerry_run (parsed_code_val);
|
||||
TEST_ASSERT (!jerry_value_has_error_flag (res));
|
||||
|
||||
jerry_heap_stats_t stats = {0};
|
||||
jerry_heap_stats_t stats;
|
||||
memset (&stats, 0, sizeof (stats));
|
||||
bool get_stats_ret = jerry_get_memory_stats (&stats);
|
||||
TEST_ASSERT (get_stats_ret);
|
||||
TEST_ASSERT (stats.version == 1);
|
||||
|
||||
Reference in New Issue
Block a user