From 1d757906a2f8c881fcbbd1915420aa80a9d5da36 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 16 May 2018 22:17:07 +0200 Subject: srd_decoder_load_all_zip_path(): Fix a compiler warning (-Wshadow). --- decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoder.c') diff --git a/decoder.c b/decoder.c index bebe96c..87df2ad 100644 --- a/decoder.c +++ b/decoder.c @@ -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; -- cgit v1.2.3-70-g09d2