cc6117d0f3
+ prune some unused files https://github.com/kinetiknz/nestegg.git commit f46223191d8116a36bf299b5b9793fcb798417b1 Merge: 0851279 4b0190a Author: Matthew Gregan <kinetik@flim.org> AuthorDate: Wed Nov 27 13:50:43 2013 -0800 Commit: Matthew Gregan <kinetik@flim.org> CommitDate: Wed Nov 27 13:50:43 2013 -0800 Merge pull request #15 from shadone/master Fix compiler warning. Change-Id: I59eecdd68fced1ef61b67d446735539628d81484
22 lines
577 B
Diff
22 lines
577 B
Diff
diff --git a/nestegg/src/nestegg.c b/nestegg/src/nestegg.c
|
|
index 4fb10e7..b6bc460 100644
|
|
--- a/nestegg/src/nestegg.c
|
|
+++ b/nestegg/src/nestegg.c
|
|
@@ -934,7 +934,7 @@ static int
|
|
ne_read_simple(nestegg * ctx, struct ebml_element_desc * desc, size_t length)
|
|
{
|
|
struct ebml_type * storage;
|
|
- int r;
|
|
+ int r = 0;
|
|
|
|
storage = (struct ebml_type *) (ctx->ancestor->data + desc->offset);
|
|
|
|
@@ -968,7 +968,6 @@ ne_read_simple(nestegg * ctx, struct ebml_element_desc * desc, size_t length)
|
|
case TYPE_MASTER:
|
|
case TYPE_UNKNOWN:
|
|
assert(0);
|
|
- r = 0;
|
|
break;
|
|
}
|
|
|