pcre/pcre-7.2.assert_fix.patch

14 lines
465 B
Diff

Index: pcre-7.1/pcrecpp.cc
===================================================================
--- pcre-7.1.orig/pcrecpp.cc
+++ pcre-7.1/pcrecpp.cc
@@ -360,7 +360,7 @@ static int NewlineMode(int pcre_options)
else if (newline == 3338)
newline_mode = PCRE_NEWLINE_CRLF;
else
- assert("" == "Unexpected return value from pcre_config(NEWLINE)");
+ assert("Unexpected return value from pcre_config(NEWLINE)");
}
return newline_mode;
}