------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1506

Git Commit <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #3 from Git Commit <[email protected]>  2014-07-23 16:17:07 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/cc4a2e40ed9f114108a72ee8cfaa453ce478e833

commit cc4a2e40ed9f114108a72ee8cfaa453ce478e833
Author:     Todd Lyons <[email protected]>
AuthorDate: Wed Jul 23 07:09:06 2014 -0700
Commit:     Todd Lyons <[email protected]>
CommitDate: Wed Jul 23 07:09:06 2014 -0700

    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.
---
 src/src/expand.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/src/expand.c b/src/src/expand.c
index c6356fb..23009bc 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 */
 }




-- 
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to