e: remove unused variable
authorSebastian Dransfeld <sd@tango.flipp.net>
Tue, 9 Oct 2012 08:40:26 +0000 (08:40 +0000)
committerSebastian Dransfeld <sd@tango.flipp.net>
Tue, 9 Oct 2012 08:40:26 +0000 (08:40 +0000)
SVN revision: 77626

src/modules/ibar/e_mod_config.c

index 9d531162ce0bddb6f95843641c79371c01b70025..793be54b81691490a75574a9fbf638a6245bfc5a 100644 (file)
@@ -233,8 +233,6 @@ _cb_entry_ok(void *data, char *text)
         f = fopen(buf, "w");
         if (f)
           {
-             int ret = 0;
-
              /* Populate this .order file with some defaults */
              snprintf(tmp, sizeof(tmp), 
                       "terminology.desktop\n"
@@ -243,7 +241,7 @@ _cb_entry_ok(void *data, char *text)
                       "openoffice.desktop\n" 
                       "xchat.desktop\n"
                       "gimp.desktop\n");
-             ret = fwrite(tmp, sizeof(char), strlen(tmp), f);
+             fwrite(tmp, sizeof(char), strlen(tmp), f);
              fclose(f);
           }
      }