diff options
author | Eric Engestrom <[email protected]> | 2018-10-20 18:00:08 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-10-25 12:43:18 +0100 |
commit | bb84fa146f2252f22999205a2904d8a948bffd3b (patch) | |
tree | 2e4773252d67da46590ec4a545fc10f6125043a9 /src/intel/tools | |
parent | 3d261cf77b35c56cc575ce9bb7909d2f8d920233 (diff) |
util: use C99 declaration in the for-loop hash_table_foreach() macro
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/intel/tools')
-rw-r--r-- | src/intel/tools/aubinator_viewer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/tools/aubinator_viewer.cpp b/src/intel/tools/aubinator_viewer.cpp index d5d289032e8..27ef4f7e99b 100644 --- a/src/intel/tools/aubinator_viewer.cpp +++ b/src/intel/tools/aubinator_viewer.cpp @@ -839,7 +839,6 @@ display_registers_window(struct window *win) filter.Draw(); ImGui::BeginChild(ImGui::GetID("##block")); - struct hash_entry *entry; hash_table_foreach(context.file->spec->registers_by_name, entry) { struct gen_group *reg = (struct gen_group *) entry->data; if (filter.PassFilter(reg->name) && @@ -895,7 +894,6 @@ display_commands_window(struct window *win) if (ImGui::Button("Dwords")) show_dwords ^= 1; ImGui::BeginChild(ImGui::GetID("##block")); - struct hash_entry *entry; hash_table_foreach(context.file->spec->commands, entry) { struct gen_group *cmd = (struct gen_group *) entry->data; if ((cmd_filter.PassFilter(cmd->name) && |