projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2a3d29
)
Removed unused macro from prefs.c.
author
Andrej Kacian
<ticho@claws-mail.org>
Wed, 14 Sep 2016 07:55:28 +0000
(09:55 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Wed, 14 Sep 2016 07:55:28 +0000
(09:55 +0200)
src/common/prefs.c
patch
|
blob
|
history
diff --git
a/src/common/prefs.c
b/src/common/prefs.c
index a17472ffa26da8c55d24d21800f15b9afb7ac912..d621a7a22196fa19b1045bc01d063d924bac39da 100644
(file)
--- 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