diff options
author | Allen Winter <allen.winter@kdab.com> | 2020-07-21 06:38:31 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2020-07-21 06:38:31 -0400 |
commit | 751c4126631bafda57f03fdd2e346ba4ab5977ca (patch) | |
tree | 795b1e28d222954bb78463c83e2e74a020470901 /src/libical | |
parent | e70adee27430474cd5c288ca8ec2de93ff05fe3e (diff) | |
download | libical-git-751c4126631bafda57f03fdd2e346ba4ab5977ca.tar.gz |
various - remove set-and-used variables. found by clang-tidy
Diffstat (limited to 'src/libical')
-rw-r--r-- | src/libical/icalcomponent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libical/icalcomponent.c b/src/libical/icalcomponent.c index 421d265d..dd370caa 100644 --- a/src/libical/icalcomponent.c +++ b/src/libical/icalcomponent.c @@ -2155,7 +2155,7 @@ icaltimezone *icalcomponent_get_timezone(icalcomponent *comp, const char *tzid) } /* Do a simple binary search. */ - lower = middle = 0; + lower = 0; upper = comp->timezones->num_elements; while (lower < upper) { |