1 diff --git a/nestegg/src/nestegg.c b/nestegg/src/nestegg.c 2 index 4fb10e7..b6bc460 100644 3 --- a/nestegg/src/nestegg.c 4 +++ b/nestegg/src/nestegg.c 5 @@ -934,7 +934,7 @@ static int 6 ne_read_simple(nestegg * ctx, struct ebml_element_desc * desc, size_t length) 7 { 8 struct ebml_type * storage; 9 - int r; 10 + int r = 0; 11 12 storage = (struct ebml_type *) (ctx->ancestor->data + desc->offset); 13 14 @@ -968,7 +968,6 @@ ne_read_simple(nestegg * ctx, struct ebml_element_desc * desc, size_t length) 15 case TYPE_MASTER: 16 case TYPE_UNKNOWN: 17 assert(0); 18 - r = 0; 19 break; 20 } 21 22