diff options
author | Allen Winter <allen.winter@kdab.com> | 2019-10-19 10:58:48 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2019-10-19 11:00:58 -0400 |
commit | 31bd82dcf28cb6ff14ceaf1e8356591bf5d543b2 (patch) | |
tree | 79239844df20ff6d0c89184fbd74f8fdbaa72377 /src/libical | |
parent | 59362ff6121795c731cc2cb7f29655cf66d58a58 (diff) | |
download | libical-git-31bd82dcf28cb6ff14ceaf1e8356591bf5d543b2.tar.gz |
icalproperty.c, icalcomponent.c - minor coding style
Diffstat (limited to 'src/libical')
-rw-r--r-- | src/libical/icalcomponent.c | 3 | ||||
-rw-r--r-- | src/libical/icalproperty.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/libical/icalcomponent.c b/src/libical/icalcomponent.c index c16bb6dc..18779128 100644 --- a/src/libical/icalcomponent.c +++ b/src/libical/icalcomponent.c @@ -2707,8 +2707,7 @@ void icalcomponent_normalize(icalcomponent *comp) if (remove) { icalproperty_set_parent(prop, 0); // MUST NOT have a parent to free icalproperty_free(prop); - } - else { + } else { pvl_insert_ordered(sorted_props, prop_compare, prop); } } diff --git a/src/libical/icalproperty.c b/src/libical/icalproperty.c index 5485a55e..63a08000 100644 --- a/src/libical/icalproperty.c +++ b/src/libical/icalproperty.c @@ -1064,8 +1064,7 @@ void icalproperty_normalize(icalproperty *prop) if (remove) { icalparameter_set_parent(param, 0); // MUST NOT have a parent to free icalparameter_free(param); - } - else { + } else { pvl_insert_ordered(sorted_params, param_compare, param); } } |