unused variable in liemikuutio-1.10

Message ID 44FA44BB.5050400@syphir.sytes.net
State New
Headers

Commit Message

C.Y.M Sept. 3, 2006, 2:58 a.m. UTC
  Hello,

I just wanted to mention that I noticed a warning when compiling the latest
liemikuutio-1.10 patch with an unused variable.

Best Regards.
  

Patch

--- vdr-1.4.2/recording.c.orig	2006-08-27 20:46:51.000000000 -0700
+++ vdr-1.4.2/recording.c	2006-08-27 20:47:40.000000000 -0700
@@ -736,7 +736,7 @@ 
         char RecLength[5], RecDate[9], RecTime[6], RecDelimiter[2];
         snprintf(RecLength, sizeof(RecLength), "---");
         if (Setup.ShowRecLength && FileName()) {
-           struct stat buf;
+//           struct stat buf;
            char *filename = NULL;
            asprintf(&filename, "%s%s", FileName(), INDEXFILESUFFIX);
            if (filename) {