changeset 24109:4565ffb49fda

Removed uninitialized variable.
author cehoyos
date Thu, 23 Aug 2007 23:14:00 +0000
parents 51cd49ee92d6
children aefbadd5eead
files stream/stream_dvdnav.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Thu Aug 23 20:29:57 2007 +0000
+++ b/stream/stream_dvdnav.c	Thu Aug 23 23:14:00 2007 +0000
@@ -355,7 +355,6 @@
   struct stream_priv_s* p = (struct stream_priv_s*)opts;
   char *filename;
   dvdnav_priv_t *priv;
-  dvdnav_status_t status;
 
   if(p->device) filename = p->device; 
   else if(dvd_device) filename= dvd_device; 
@@ -398,7 +397,7 @@
 
   update_title_len(stream);
   if(!stream->pos)
-    mp_msg(MSGT_OPEN,MSGL_ERR, "INIT ERROR: %d, couldn't get init pos %s\r\n", status, dvdnav_err_to_string(priv->dvdnav));
+    mp_msg(MSGT_OPEN,MSGL_ERR, "INIT ERROR: couldn't get init pos %s\r\n", dvdnav_err_to_string(priv->dvdnav));
 
   mp_msg(MSGT_OPEN,MSGL_INFO, "Remember to disable MPlayer's cache when playing dvdnav:// streams (adding -nocache to your command line)\r\n");