git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cc4a2e4
)
Bug 1506: Silence static checkers.
author
Lars Mueller
<lmuelle@suse.com>
Wed, 23 Jul 2014 14:22:52 +0000
(07:22 -0700)
committer
Todd Lyons
<tlyons@exim.org>
Wed, 23 Jul 2014 14:22:52 +0000
(07:22 -0700)
Re-adds a return NULL which was removed because it was redundant. Static
checkers don't parse the logic, so adding it back to make them happy.
src/src/expand.c
patch
|
blob
|
history
diff --git
a/src/src/expand.c
b/src/src/expand.c
index 23009bc4f2f065f12f4704e1e0cee3bb7554eace..70d7c7d2ff61ef892d8b244f11c440d40a34f408 100644
(file)
--- a/
src/src/expand.c
+++ b/
src/src/expand.c
@@
-1879,7
+1879,8
@@
switch (vp->type)
#endif
}
-return NULL; /* Fix broken static checkers, already done in if() above */
+
+return NULL; /* Unknown variable. Silences static checkers. */
}