summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/host/osmocon/osmocon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c
index 9d592207..024697d7 100644
--- a/src/host/osmocon/osmocon.c
+++ b/src/host/osmocon/osmocon.c
@@ -463,7 +463,7 @@ static void hexdump(const uint8_t *data, unsigned int len)
static int romload_prepare_block(void)
{
- int rc, i;
+ int i;
int block_checksum = 5;
int remaining_bytes;
@@ -534,7 +534,7 @@ static int romload_prepare_block(void)
dnload.block_number++;
dnload.serial_fd.when = BSC_FD_READ | BSC_FD_WRITE;
- return rc;
+ return 0;
}
static int mtk_prepare_block(void)