Add missing #ifdef for DEBUG_FD
authorTomasz Golinski <tomaszg@math.uwb.edu.pl>
Mon, 15 May 2023 21:38:41 +0000 (23:38 +0200)
committerColin Clark <colin.clark@cclark.uk>
Tue, 16 May 2023 12:22:45 +0000 (13:22 +0100)
Amends commit cd72fa8

src/filedata.cc

index d704903..065f870 100644 (file)
@@ -697,6 +697,7 @@ FileData *file_data_ref(FileData *fd)
  */
 void file_data_dump()
 {
  */
 void file_data_dump()
 {
+#ifdef DEBUG_FILEDATA
        FileData *fd;
        GList *list;
 
        FileData *fd;
        GList *list;
 
@@ -716,6 +717,7 @@ void file_data_dump()
 
                g_list_free(list);
                }
 
                g_list_free(list);
                }
+#endif
 }
 
 static void file_data_free(FileData *fd)
 }
 
 static void file_data_free(FileData *fd)