changeset 33430:a1184b9d68de

Remove a duplicated open() call that could lead to a file-descriptor leak in some cases.
author reimar
date Sun, 29 May 2011 12:05:59 +0000
parents 2e2a56ca2d0b
children cdc8cec139ad
files stream/stream_cue.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cue.c	Sun May 29 11:56:11 2011 +0000
+++ b/stream/stream_cue.c	Sun May 29 12:05:59 2011 +0000
@@ -230,7 +230,6 @@
     case 3:
       /* ok try it with path */
       snprintf(t, sizeof( t ), "%s/%s", bincue_path, s);
-      fd_bin = open (t, O_RDONLY);
       cur_name = t;
       break;
     case 4: