Fix misc. compiler warnings (#2202)

JerryScript-DCO-1.0-Signed-off-by: Martijn The martijn.the@intel.com
This commit is contained in:
Martijn Thé
2018-02-20 16:13:04 +01:00
committed by Zoltan Herczeg
parent 6fce323fa5
commit b8656877e2
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -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);