]> granicus.if.org Git - onig/commitdiff
fix invalid argument
authorK.Kosako <kosako@sofnec.co.jp>
Sun, 29 Sep 2019 23:49:40 +0000 (08:49 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Sun, 29 Sep 2019 23:49:40 +0000 (08:49 +0900)
sample/regset.c

index 6ab7eda3cffebba46ab2b37a6cabf8b3cd9067fc..8b3df45e2fddf69d2eea58d26dc723e9d3aabada 100644 (file)
@@ -29,7 +29,7 @@ extern int main(int argc, char* argv[])
 
   r = onig_regset_new(&set, 0, NULL);
   if (r != ONIG_NORMAL) {
-    onig_error_code_to_str((UChar* )ebuf, r, &einfo);
+    onig_error_code_to_str((UChar* )ebuf, r);
     fprintf(stderr, "ERROR: %s\n", ebuf);
     onig_end();
     return -1;