summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2020-02-03 17:38:12 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2020-02-04 01:05:35 +0200
commit38779cfade479cd4cb64882923d2e86b9084f677 (patch)
tree37a8eb0bfe6bbdd6a55b5efe59f3fb9b85d40947 /lib/utils
parentee4730382dc0b70fcddac14d32b2acb632fbb538 (diff)
mu: no need to pass 'maildir' when we can deduce it
Only needed when setting up the database.
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/mu-utils.hh9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/utils/mu-utils.hh b/lib/utils/mu-utils.hh
index 30cd118..c5787d0 100644
--- a/lib/utils/mu-utils.hh
+++ b/lib/utils/mu-utils.hh
@@ -174,15 +174,6 @@ static inline std::string to_string (const T& val)
*
*/
-#define MU_STORE_CATCH_BLOCK_RETURN(GE,R) \
- catch (const MuStoreError& merr) { \
- mu_util_g_set_error ((GE), \
- merr.mu_error(), "%s", \
- merr.what().c_str()); \
- return (R); \
- } \
-
-
#define MU_XAPIAN_CATCH_BLOCK \
catch (const Xapian::Error &xerr) { \
g_critical ("%s: xapian error '%s'", \