projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f0ebb9
)
Bug 1506: Fix static typechecker output
author
Todd Lyons
<tlyons@exim.org>
Wed, 23 Jul 2014 14:09:06 +0000
(07:09 -0700)
committer
Todd Lyons
<tlyons@exim.org>
Wed, 23 Jul 2014 14:09:06 +0000
(07:09 -0700)
The end of the function can never be reached because the switch is only
reached if the value it is checking is valid. Putting this return
silences the warnings.
src/src/expand.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/expand.c
b/src/src/expand.c
index c6356fbe12202145895a8aa15aaf2c90643ccfc7..23009bc4f2f065f12f4704e1e0cee3bb7554eace 100644
(file)
--- a/
src/src/expand.c
+++ b/
src/src/expand.c
@@
-1879,6
+1879,7
@@
switch (vp->type)
#endif
}
+return NULL; /* Fix broken static checkers, already done in if() above */
}