summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTodd Lyons <tlyons@exim.org>2014-07-23 07:09:06 -0700
committerTodd Lyons <tlyons@exim.org>2014-07-23 07:09:06 -0700
commitcc4a2e40ed9f114108a72ee8cfaa453ce478e833 (patch)
tree3a3d4cf14dd8d7293fa5e1265a8f43526e7eeb47 /src
parent1f0ebb98148c1ed3ea4e9db0134b3aa90c4d70eb (diff)
Bug 1506: Fix static typechecker output
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.
Diffstat (limited to 'src')
-rw-r--r--src/src/expand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/expand.c b/src/src/expand.c
index c6356fbe1..23009bc4f 100644
--- 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 */
}