changeset 2985:6ace9600e4b5

Fix a warning - this time without killing seek code.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Sun, 02 Nov 2008 01:33:20 +0100
parents 3b39a56caaaa
children 947ac5c18ad3
files src/madplug/plugin.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/plugin.c	Sun Nov 02 00:15:23 2008 +0000
+++ b/src/madplug/plugin.c	Sun Nov 02 01:33:20 2008 +0100
@@ -437,7 +437,11 @@
             } else {
                 /* No, re-fill buffer and try again .. */
                 glong tmppos = skip - (chksize - chkpos);
+#ifdef MADPROBE_DEBUG
                 gint tmpres = aud_vfs_fseek(fin, tmppos, SEEK_CUR);
+#else
+		aud_vfs_fseek(fin, tmppos, SEEK_CUR);
+#endif
                 LOL("[skipping: %ld -> %d]\n", tmppos, tmpres);
                 next = STATE_GET_NEXT;
                 state = STATE_REBUFFER;