blob: 35c4917c6570a13954a49b88954027141f037e8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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;
|