summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-11-26 10:36:52 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-01 18:20:24 +0100
commitfff501a3393b459c512ec155e2d2cd935e7885a2 (patch)
tree625ea119195475e2680ba7f1be1c73b2a31a0684 /soltools
parentaf843af4c816ef25246c815e187729ec25b2f000 (diff)
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: I38f3e3243f8cb891c9a0fe2f4c68bc76acd1ef44 Reviewed-on: https://gerrit.libreoffice.org/64020 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'soltools')
-rw-r--r--soltools/mkdepend/pr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soltools/mkdepend/pr.c b/soltools/mkdepend/pr.c
index 4fe0b4ada2fa..391e39dfcd20 100644
--- a/soltools/mkdepend/pr.c
+++ b/soltools/mkdepend/pr.c
@@ -59,7 +59,7 @@ void add_include(struct filepointer *filep, struct inclist *file, struct inclist
if (newfile) {
/* Only add new dependency files if they don't have "/usr/include" in them. */
- if (!(newfile && newfile->i_file && strstr(newfile->i_file, "/usr/"))) {
+ if (!(newfile->i_file && strstr(newfile->i_file, "/usr/"))) {
included_by(file, newfile);
}