summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2021-08-14 18:32:32 -0400
committerAllen Winter <allen.winter@kdab.com>2021-09-16 16:16:53 -0400
commita0f8a6bc57b68d4e77f3728e95468e558e771164 (patch)
treef2242624f704991d07f0608eb2f3865b4e918f39 /src
parent48c2012eeb67f805ebadabcd877144caa07e1f9e (diff)
downloadlibical-git-a0f8a6bc57b68d4e77f3728e95468e558e771164.tar.gz
src/libical/icaltimezone.c - cppcheck suppression
Diffstat (limited to 'src')
-rw-r--r--src/libical/icaltimezone.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libical/icaltimezone.c b/src/libical/icaltimezone.c
index e3b4342d..1826d2d0 100644
--- a/src/libical/icaltimezone.c
+++ b/src/libical/icaltimezone.c
@@ -1412,6 +1412,7 @@ static struct icaltimetype tm_to_icaltimetype(struct tm *tm)
memset(&itt, 0, sizeof(struct icaltimetype));
+ /* cppcheck-suppress ctuuninitvar */
itt.second = tm->tm_sec;
itt.minute = tm->tm_min;
itt.hour = tm->tm_hour;