Clear some compiler warnings by commenting some functions, adding others to headers.
[blender.git] / source / blender / editors / space_file / file_draw.c
index e9e036a65cbdf21eec3bd037a656f54cf0b04f46..79c1cce4656010cb5a8783cb174c33adb7760220 100644 (file)
@@ -79,7 +79,7 @@
 enum {
        B_FS_DIRNAME,
        B_FS_FILENAME
-} eFile_ButEvents;
+} /*eFile_ButEvents*/;
 
 
 static void do_file_buttons(bContext *C, void *UNUSED(arg), int event)
@@ -256,6 +256,8 @@ static int get_file_icon(struct direntry *file)
        }
        else if (file->flags & BLENDERFILE)
                return ICON_FILE_BLEND;
+       else if (file->flags & BLENDERFILE_BACKUP)
+               return ICON_FILE_BLEND;
        else if (file->flags & IMAGEFILE)
                return ICON_FILE_IMAGE;
        else if (file->flags & MOVIEFILE)