diff options
author | Peter Wu <lekensteyn@gmail.com> | 2013-09-26 00:55:56 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-09-26 13:29:04 +0200 |
commit | 97485501f87e5452bc49721003ebfb9717f497b6 (patch) | |
tree | 88c72953c5f2f61a822660fb1ce5f4f9a658de06 /demangle.c | |
parent | c391cea99973d5fac82bf9b78ff72dd428875721 (diff) | |
download | ltrace-97485501f87e5452bc49721003ebfb9717f497b6.tar.gz |
Fix clang warning (-Wduplicate-decl-specifier)
DICT_INIT defines its key type as constant already, no need to duplicate
that in callers of DICT_INIT.
Signed-off-by: Peter Wu <lekensteyn@gmail.com>
Diffstat (limited to 'demangle.c')
-rw-r--r-- | demangle.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ my_demangle(const char *function_name) { if (name_cache == NULL) { name_cache = malloc(sizeof(*name_cache)); if (name_cache != NULL) - DICT_INIT(name_cache, const char *, const char *, + DICT_INIT(name_cache, char *, const char *, dict_hash_string, dict_eq_string, NULL); } |