aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-11-29 02:07:56 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-12-03 01:41:50 +0100
commit44c00e4259fdc1cd18b94d2c0c63e93410e55932 (patch)
tree94726bc4a5d4438861a9fc3f5c9576df89f3e445
parentc9828bb0cd3b03fc453328c62bcccd06b3517267 (diff)
downloadhardware_replicant_libsamsung-ipc-44c00e4259fdc1cd18b94d2c0c63e93410e55932.tar.gz
hardware_replicant_libsamsung-ipc-44c00e4259fdc1cd18b94d2c0c63e93410e55932.tar.bz2
hardware_replicant_libsamsung-ipc-44c00e4259fdc1cd18b94d2c0c63e93410e55932.zip
tools: nv_data-imei: fix unused-label
Without that fix, when building libsamsung-ipc under GNU/Linux with the "-Werror -W -Wall -Wunused -Wunused-function" CFLAGS, GCC and the autotools build system, we have: nv_data-imei.c: In function ‘bruteforce_imei_offset’: nv_data-imei.c:695:1: error: label ‘complete’ defined but not used [-Werror=unused-label] complete: ^~~~~~~~ Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Reviewed-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
-rw-r--r--tools/nv_data-imei.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/nv_data-imei.c b/tools/nv_data-imei.c
index 8f4986a..97ed66a 100644
--- a/tools/nv_data-imei.c
+++ b/tools/nv_data-imei.c
@@ -692,7 +692,6 @@ int bruteforce_imei_offset(char *nv_data_path, struct imei *given_imei)
}
error:
-complete:
if (buffer)
free(buffer);