Skip to content

Commit

Permalink
Merge pull request #5222 from dilyanpalauzov/caldav_jscal_filter_remo…
Browse files Browse the repository at this point in the history
…ve_have_after

struct caldav_jscal_filter: remove fields _have_after and _have_before
  • Loading branch information
rsto authored Jan 20, 2025
2 parents dcda68a + 8b70c6a commit bcd545a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions imap/caldav_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand All @@ -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;
}
}

Expand Down
3 changes: 0 additions & 3 deletions imap/caldav_db.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 { \
Expand Down

0 comments on commit bcd545a

Please sign in to comment.