[vlc-devel] commit: Don't set an useless value ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Dec 10 21:28:09 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Dec 10 22:19:57 2008 +0200| [77cb7de9d44008b87d212e14d67de542d2c5c976] | committer: Rémi Denis-Courmont 

Don't set an useless value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=77cb7de9d44008b87d212e14d67de542d2c5c976
---

 modules/stream_filter/decomp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/decomp.c b/modules/stream_filter/decomp.c
index 5283f44..d571920 100644
--- a/modules/stream_filter/decomp.c
+++ b/modules/stream_filter/decomp.c
@@ -106,7 +106,7 @@ static void *Thread (void *data)
         if (len <= 0)
             break;
 
-        for (ssize_t i = 0, j = 0; i < len; i += j)
+        for (ssize_t i = 0, j; i < len; i += j)
         {
             struct iovec iov[1] = { { buf + i, len - i, } };
 




More information about the vlc-devel mailing list