[vlc-devel] commit: Remove dead increment. ( Rémi Duraffort )

git version control git at videolan.org
Fri Jun 19 11:08:15 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jun 19 10:50:55 2009 +0200| [c67fbb290d9a1c3dd1971936700034a5de2d51fe] | committer: Rémi Duraffort 

Remove dead increment.

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

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

diff --git a/src/modules/modules.c b/src/modules/modules.c
index b4a1ca3..815d11c 100644
--- a/src/modules/modules.c
+++ b/src/modules/modules.c
@@ -907,7 +907,7 @@ static char * copy_next_paths_token( char * paths, char ** remaining_paths )
         else
             path[done++] = paths[i];
     }
-    path[done++] = 0;
+    path[done] = 0;
 
     /* Return the remaining paths */
     if( remaining_paths ) {




More information about the vlc-devel mailing list