diff --git a/imap/caldav_db.c b/imap/caldav_db.c index 404f300b5e..d26de534ea 100644 --- a/imap/caldav_db.c +++ b/imap/caldav_db.c @@ -1523,11 +1523,9 @@ EXPORTED void caldav_jscal_filter_by_before(struct caldav_jscal_filter* f, { if (before) { f->before = *before; - f->_have_before = 1; } else { f->before = 0; - f->_have_before = 0; } } @@ -1536,11 +1534,9 @@ EXPORTED void caldav_jscal_filter_by_after(struct caldav_jscal_filter* f, { if (after) { f->after = *after; - f->_have_after = 1; } else { f->after = 0; - f->_have_after = 0; } } diff --git a/imap/caldav_db.h b/imap/caldav_db.h index d9e73bdce5..6ae9217dd6 100644 --- a/imap/caldav_db.h +++ b/imap/caldav_db.h @@ -238,9 +238,6 @@ struct caldav_jscal_filter { enum caldav_jscal_filterop op; ptrarray_t subfilters; - - int _have_after : 1; - int _have_before: 1; }; #define CALDAV_JSCAL_FILTER_INITIALIZER { \