Kaydet (Commit) e9149cdc authored tarafından Michael Stahl's avatar Michael Stahl

concat-deps: fix build with gcc -fsanitize=... -std=gnu89

Apparently Clang C89 mode is sloppily implemented and allows this.

Change-Id: I78ef943bc4c5f8590dae8879dad65ad9fbe9a9bb
üst ef126328
......@@ -1174,10 +1174,13 @@ const char *env_str;
#endif
}
#if !ENABLE_RUNTIME_OPTIMIZATIONS
hash_destroy(dep_hash);
for (size_t i = 0; i != file_load_buffer_count; ++i)
{
free(file_load_buffers[i]);
size_t i;
hash_destroy(dep_hash);
for (i = 0; i != file_load_buffer_count; ++i)
{
free(file_load_buffers[i]);
}
}
#endif
return rc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment