[Mplayer-cvslog] CVS: main m_option.c,1.11,1.12 subreader.c,1.106,1.107
Alex Beregszaszi
alex at mplayerhq.hu
Mon Jun 2 00:16:45 CEST 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv7842
Modified Files:
m_option.c subreader.c
Log Message:
warning fixes by Dominik
Index: m_option.c
===================================================================
RCS file: /cvsroot/mplayer/main/m_option.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- m_option.c 12 Apr 2003 13:45:43 -0000 1.11
+++ m_option.c 1 Jun 2003 22:16:41 -0000 1.12
@@ -1493,7 +1493,8 @@
d[n].attribs = NULL;
copy_str_list(NULL,&(d[n].attribs),&(s[n].attribs));
}
- d[n].name = d[n].attribs = NULL;
+ d[n].name = NULL;
+ d[n].attribs = NULL;
VAL(dst) = d;
}
Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- subreader.c 31 May 2003 17:33:33 -0000 1.106
+++ subreader.c 1 Jun 2003 22:16:41 -0000 1.107
@@ -1648,7 +1648,7 @@
for (j = 0; j <= 1; j++) {
d = opendir(j == 0 ? f_dir : path);
if (d) {
- while (de = readdir(d)) {
+ while ((de = readdir(d))) {
// retrieve various parts of the filename
strcpy_strip_ext(tmp_fname_noext, de->d_name);
strcpy_get_ext(tmp_fname_ext, de->d_name);
More information about the MPlayer-cvslog
mailing list