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,11 +1174,14 @@ const char *env_str; ...@@ -1174,11 +1174,14 @@ const char *env_str;
#endif #endif
} }
#if !ENABLE_RUNTIME_OPTIMIZATIONS #if !ENABLE_RUNTIME_OPTIMIZATIONS
{
size_t i;
hash_destroy(dep_hash); hash_destroy(dep_hash);
for (size_t i = 0; i != file_load_buffer_count; ++i) for (i = 0; i != file_load_buffer_count; ++i)
{ {
free(file_load_buffers[i]); free(file_load_buffers[i]);
} }
}
#endif #endif
return rc; 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