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 <[email protected]>
---
tools/nv_data-imei.c | 1 -
1 file changed, 1 deletion(-)
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);
--
2.29.2
_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant