diff options
-rw-r--r-- | src/host/osmocon/osmocon.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/host/osmocon/osmocon.c b/src/host/osmocon/osmocon.c index 648d4164..76f60374 100644 --- a/src/host/osmocon/osmocon.c +++ b/src/host/osmocon/osmocon.c @@ -497,8 +497,7 @@ static int romload_prepare_block(void) static int mtk_prepare_block(void) { - int rc, i; - + int i; int remaining_bytes; int fill_bytes; uint8_t *block_data; @@ -565,7 +564,7 @@ static int mtk_prepare_block(void) dnload.block_ptr = dnload.block; dnload.block_number++; - return rc; + return 0; } static int handle_write_block(void) |