diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-16 22:17:07 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2018-05-16 23:11:08 +0200 |
commit | 1d757906a2f8c881fcbbd1915420aa80a9d5da36 (patch) | |
tree | c07d44f8722daa683fe6271bdfbb195ea548bfed /decoder.c | |
parent | 3389df7d5d85edc9453c3bd7f3556154152af501 (diff) | |
download | libsigrokdecode-1d757906a2f8c881fcbbd1915420aa80a9d5da36.tar.gz libsigrokdecode-1d757906a2f8c881fcbbd1915420aa80a9d5da36.zip |
srd_decoder_load_all_zip_path(): Fix a compiler warning (-Wshadow).
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -937,7 +937,7 @@ SRD_API int srd_decoder_unload(struct srd_decoder *dec) return SRD_OK; } -static void srd_decoder_load_all_zip_path(char *path) +static void srd_decoder_load_all_zip_path(char *zip_path) { PyObject *zipimport_mod, *zipimporter_class, *zipimporter; PyObject *prefix_obj, *files, *key, *value, *set, *modname; @@ -958,7 +958,7 @@ static void srd_decoder_load_all_zip_path(char *path) if (zipimporter_class == NULL) goto err_out; - zipimporter = PyObject_CallFunction(zipimporter_class, "s", path); + zipimporter = PyObject_CallFunction(zipimporter_class, "s", zip_path); if (zipimporter == NULL) goto err_out; |