[vlc-devel] commit: Initialise variable before using it (CID 238) ( Rémi Duraffort )
git version control
git at videolan.org
Wed Oct 1 20:36:22 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Oct 1 20:18:26 2008 +0200| [995655d1f842088b0397df905b5296acbe7f8511] | committer: Rémi Duraffort
Initialise variable before using it (CID 238)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=995655d1f842088b0397df905b5296acbe7f8511
---
include/vlc_block.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/vlc_block.h b/include/vlc_block.h
index 2721633..4d7c443 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 )
{
More information about the vlc-devel
mailing list