summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/io_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ubi-tests/io_update.c')
-rw-r--r--tests/ubi-tests/io_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/io_update.c b/tests/ubi-tests/io_update.c
index 543cb8c..4f8a374 100644
--- a/tests/ubi-tests/io_update.c
+++ b/tests/ubi-tests/io_update.c
@@ -185,7 +185,7 @@ static int test_update1(struct ubi_vol_info *vol_info)
}
for (i = 0; i < SEQ_SZ; i++) {
- int ret, stop = 0, len;
+ int ret, stop = 0, len = 0;
off_t off = 0;
unsigned char buf1[vol_info->rsvd_bytes];