summaryrefslogtreecommitdiff
path: root/src/test/stow.c
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2019-08-02 10:48:09 -0400
committerAllen Winter <allen.winter@kdab.com>2019-08-02 10:50:58 -0400
commit86d6c709e6c7fcb9bfdc2f74b325cde072521094 (patch)
treea33c44dcc349a7580e20bcc43b310ca8453c6eae /src/test/stow.c
parent6d8669ced1de4c4066d7b6b7c4742bea2bda7962 (diff)
downloadlibical-git-86d6c709e6c7fcb9bfdc2f74b325cde072521094.tar.gz
various - fix warnings found by cppcheck v1.88
Diffstat (limited to 'src/test/stow.c')
-rw-r--r--src/test/stow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/stow.c b/src/test/stow.c
index f425288a..5109d924 100644
--- a/src/test/stow.c
+++ b/src/test/stow.c
@@ -583,7 +583,6 @@ void get_options(int argc, char *argv[], struct options_struct *opt)
}
/* Find password entry for user */
- /* cppcheck-suppress getpwentCalled; as we don't care about multi-threaded in a test prog */
while ((pw = getpwent()) != 0) {
if (strcmp(user, pw->pw_name) == 0) {
break;