changeset:   160:98fa88db1ba8
tag:         tip
user:        Markus Mützel <markus.muetzel@gmx.de>
date:        Sun Nov 28 22:02:20 2021 +0100
summary:     Fix compilation with Octave 8 (bug #61578).

--- a/src/pcregexp.cc
+++ b/src/pcregexp.cc
@@ -50,10 +50,6 @@
 
     std::string pattern = args(0).string_value();
     std::string input = args(1).string_value();
-    if (error_state) {
-        OCTAVE__WRONG_TYPE_ARG("pcregexp", args(0));
-        return retval;
-    }
 
     // Compile expression
     pcre *re;

