summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Mueller <lmuelle@suse.com>2014-07-23 07:22:52 -0700
committerTodd Lyons <tlyons@exim.org>2014-07-23 07:22:52 -0700
commit6c08476d09bf337921e7ba73e109e5f72fddfdf9 (patch)
tree07ec8e46ffc305d66c92ed69bcf48aba08829213
parentcc4a2e40ed9f114108a72ee8cfaa453ce478e833 (diff)
Bug 1506: Silence static checkers.
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.
-rw-r--r--src/src/expand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/expand.c b/src/src/expand.c
index 23009bc4f..70d7c7d2f 100644
--- 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. */
}