]> granicus.if.org Git - libmatroska/commitdiff
Avoid compiler warning about possible use of uninitialized values
authorMoritz Bunkus <moritz@bunkus.org>
Sat, 19 Oct 2013 10:25:39 +0000 (12:25 +0200)
committerMoritz Bunkus <moritz@bunkus.org>
Sat, 19 Oct 2013 10:25:39 +0000 (12:25 +0200)
src/KaxBlock.cpp

index e111038b17316f2f0c648223833973c2ab808452..b98983b78d88c50ea4a8694b3b2c8c12e4b53855 100644 (file)
@@ -201,6 +201,7 @@ filepos_t KaxInternalBlock::UpdateSize(bool /* bSaveDefault */, bool /* bForceRe
                                }
                                break;
                        default:
+                               i = 0;
                                assert(0);
                        }
                        // Size of the last frame (not in lace)