From: RĂ©mi Duraffort Date: Wed, 1 Oct 2008 18:18:26 +0000 (+0200) Subject: Initialise variable before using it (CID 238) X-Git-Tag: 1.0.0-pre1~2763 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=995655d1f842088b0397df905b5296acbe7f8511;p=vlc Initialise variable before using it (CID 238) --- diff --git a/include/vlc_block.h b/include/vlc_block.h index 27216333ab..4d7c44341f 100644 --- a/include/vlc_block.h +++ b/include/vlc_block.h @@ -236,7 +236,7 @@ static inline void block_ChainProperties( block_t *p_list, int *pi_count, size_t { size_t i_size = 0; mtime_t i_length = 0; - int i_count; + int i_count = 0; while( p_list ) {