[Commits] [SCM] claws branch, master, updated. 3.14.0-81-gd113e2d
ticho at claws-mail.org
ticho at claws-mail.org
Wed Sep 14 09:55:51 CEST 2016
The branch, master has been updated
via d113e2d96b866239c14a6124e542869b84928ad9 (commit)
from a2a3d29ce74dbddf729ccb3cd847b9a87c41ea72 (commit)
Summary of changes:
src/common/prefs.c | 8 --------
1 file changed, 8 deletions(-)
- Log -----------------------------------------------------------------
commit d113e2d96b866239c14a6124e542869b84928ad9
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Wed Sep 14 09:55:28 2016 +0200
Removed unused macro from prefs.c.
diff --git a/src/common/prefs.c b/src/common/prefs.c
index a17472f..d621a7a 100644
--- a/src/common/prefs.c
+++ b/src/common/prefs.c
@@ -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
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list