Removed unused macro from prefs.c.
authorAndrej Kacian <ticho@claws-mail.org>
Wed, 14 Sep 2016 07:55:28 +0000 (09:55 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Wed, 14 Sep 2016 07:55:28 +0000 (09:55 +0200)
src/common/prefs.c

index a17472f..d621a7a 100644 (file)
@@ -112,13 +112,6 @@ gboolean prefs_common_get_flush_metadata (void);
  *
  *\return      0 on success, -1 on failure
  */
-#define PREFS_FILE_FREE() \
-{ \
-  g_free(path); \
-  g_free(tmppath); \
-  g_free(bakpath); \
-  g_free(pfile); \
-}
 gint prefs_file_close(PrefFile *pfile)
 {
        FILE *fp, *orig_fp;
@@ -217,7 +210,6 @@ gint prefs_file_close(PrefFile *pfile)
        g_free(bakpath);
        return 0;
 }
-#undef PREFS_FILE_FREE
 
 /*!
  *\brief       Close and free preferences file, delete temp file