aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-29 00:49:25 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-12-05 23:34:42 +0100
commit6eb23729ad22c3f5d1f87cf8462eb07f47859462 (patch)
tree8866ecf2b1ce2636de7669a29fcfe0cc9df59b5c
parent0cde0d7d15c3218717db9a49d2b5e63abed70312 (diff)
downloadhardware_replicant_libsamsung-ipc-6eb23729ad22c3f5d1f87cf8462eb07f47859462.tar.gz
hardware_replicant_libsamsung-ipc-6eb23729ad22c3f5d1f87cf8462eb07f47859462.tar.bz2
hardware_replicant_libsamsung-ipc-6eb23729ad22c3f5d1f87cf8462eb07f47859462.zip
tools: get rid of unused variables
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--tools/ipc-modem.c3
-rw-r--r--tools/nv_data-md5.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/tools/ipc-modem.c b/tools/ipc-modem.c
index b86eed2..ce03d31 100644
--- a/tools/ipc-modem.c
+++ b/tools/ipc-modem.c
@@ -149,8 +149,6 @@ void modem_response_sec(struct ipc_client *client, struct ipc_message *resp)
{
struct ipc_sec_pin_status_response_data *sim_status;
unsigned char type;
- int status;
- char *data;
switch(resp->command)
{
@@ -312,7 +310,6 @@ void modem_response_net(__attribute__((unused)) struct ipc_client *client,
struct ipc_message *resp)
{
struct ipc_net_regist_response_data *regi;
- struct ipc_net_plmn_entry *plmn;
char mnc[6];
switch(resp->command)
diff --git a/tools/nv_data-md5.c b/tools/nv_data-md5.c
index 8ce0a70..78901ef 100644
--- a/tools/nv_data-md5.c
+++ b/tools/nv_data-md5.c
@@ -35,7 +35,6 @@ int main(int argc, char *argv[])
size_t chunk_size = NV_DATA_CHUNK_SIZE;
char *md5_string = NULL;
char *path;
- int rc;
if (argc < 2) {
usage_print();