[Pcre-svn] [1446] code/trunk/pcre_compile.c: Remove unreacha…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1446] code/trunk/pcre_compile.c: Remove unreachable statement to avoid compiler warning.
Revision: 1446
          http://vcs.pcre.org/viewvc?view=rev&revision=1446
Author:   ph10
Date:     2014-01-13 17:00:49 +0000 (Mon, 13 Jan 2014)


Log Message:
-----------
Remove unreachable statement to avoid compiler warning.

Modified Paths:
--------------
    code/trunk/pcre_compile.c


Modified: code/trunk/pcre_compile.c
===================================================================
--- code/trunk/pcre_compile.c    2014-01-13 16:51:36 UTC (rev 1445)
+++ code/trunk/pcre_compile.c    2014-01-13 17:00:49 UTC (rev 1446)
@@ -3566,7 +3566,9 @@
   if (list[1] == 0) return TRUE;
   }


-return FALSE;
+/* Control never reaches here. There used to be a fail-save return FALSE; here,
+but some compilers complain about an unreachable statement. */
+
}