[MPlayer-cvslog] r20102 - trunk/vobsub.c

reimar subversion at mplayerhq.hu
Sun Oct 8 11:05:27 CEST 2006


Author: reimar
Date: Sun Oct  8 11:05:27 2006
New Revision: 20102

Modified:
   trunk/vobsub.c

Log:
Useless initialization, they will be always set for result != 0
and for result == 0 they make no sense


Modified: trunk/vobsub.c
==============================================================================
--- trunk/vobsub.c	(original)
+++ trunk/vobsub.c	Sun Oct  8 11:05:27 2006
@@ -1353,9 +1353,6 @@
     filename = malloc(strlen(basename) + 5);
     if (filename) {
 	result = malloc(sizeof(vobsub_out_t));
-	result->fsub = NULL;
-	result->fidx = NULL;
-	result->aid = 0;
 	if (result) {
 	    result->aid = index;
 	    strcpy(filename, basename);



More information about the MPlayer-cvslog mailing list