Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Unified Diff: media/tools/qt-faststart.c

Issue 155834: fix warnings treated as errors on line 94 and 97 that are allowed on try serv... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/media.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/qt-faststart.c
===================================================================
--- media/tools/qt-faststart.c (revision 21150)
+++ media/tools/qt-faststart.c (working copy)
@@ -91,10 +91,10 @@
unsigned char atom_bytes[ATOM_PREAMBLE_SIZE];
uint32_t atom_type = 0;
uint64_t atom_size = 0;
- uint64_t last_offset;
+ uint64_t last_offset = 0; // warning: 'last_offset' may be used uninitialized in this function
unsigned char *moov_atom = 0;
unsigned char *ftyp_atom = 0;
- uint64_t moov_atom_size;
+ uint64_t moov_atom_size = 0; // warning: 'moov_atom_size' may be used uninitialized in this function
uint64_t ftyp_atom_size = 0;
uint64_t i, j;
uint32_t offset_count;
« no previous file with comments | « media/media.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698