summaryrefslogtreecommitdiff
path: root/src/libical
diff options
context:
space:
mode:
authorKen Murchison <murch@fastmail.com>2019-06-16 12:54:06 -0400
committerKen Murchison <murch@fastmail.com>2020-11-22 13:52:08 -0500
commite0c6d4a54ce56e7fd6cc520058414b2d9a812583 (patch)
treeed08130f7efa0326d5659c844e8b5601aecd4f79 /src/libical
parent63fac514ceddc5641494e4e9d711fa7feee92008 (diff)
downloadlibical-git-e0c6d4a54ce56e7fd6cc520058414b2d9a812583.tar.gz
icalrecur.c: fixed return with no value
Diffstat (limited to 'src/libical')
-rw-r--r--src/libical/icalrecur.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libical/icalrecur.c b/src/libical/icalrecur.c
index c50758d7..0abf39a1 100644
--- a/src/libical/icalrecur.c
+++ b/src/libical/icalrecur.c
@@ -2678,7 +2678,7 @@ static short daymask_find_next_bit(icalrecur_iterator *impl)
int wordIdx;
if (days_index >= ICAL_YEARDAYS_MASK_SIZE)
- return;
+ return ICAL_YEARDAYS_MASK_SIZE;
// Prepare the first word, where searching might not start at the beginning
startBitIndex = days_index + ICAL_YEARDAYS_MASK_OFFSET;