summaryrefslogtreecommitdiff
path: root/app-cdr/cuecue/files/cuecue-0.2.2-unused.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/cuecue/files/cuecue-0.2.2-unused.patch')
-rw-r--r--app-cdr/cuecue/files/cuecue-0.2.2-unused.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-cdr/cuecue/files/cuecue-0.2.2-unused.patch b/app-cdr/cuecue/files/cuecue-0.2.2-unused.patch
new file mode 100644
index 000000000000..86874a2698e9
--- /dev/null
+++ b/app-cdr/cuecue/files/cuecue-0.2.2-unused.patch
@@ -0,0 +1,23 @@
+--- a/src/libcuecue/cuecue.c
++++ b/src/libcuecue/cuecue.c
+@@ -163,12 +163,8 @@
+ char str[CUECUE_FILENAME_MAX];
+ char *ext;
+ int i;
+- int found=0;
+-
+- ext = strrchr(filename,'.');
+
+ for(i=0; i<DECODER_MAX; i++) {
+- char *ext;
+
+ strcpy(str,filename);
+ ext = strrchr(str,'.');
+@@ -176,7 +172,6 @@
+ strcpy(ext,Extensions[i]);
+ if (FileExists(str)) {
+ strcpy(cuefile,str);
+- found=1;
+ return 1;
+ }
+ }