]> granicus.if.org Git - onig/commitdiff
fix initialization of FinishCode[] values
authorK.Kosako <kkosako0@gmail.com>
Mon, 11 Feb 2019 05:01:10 +0000 (14:01 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Thu, 28 Feb 2019 05:28:18 +0000 (14:28 +0900)
src/regexec.c

index 8f928caf844060e709b8d4fb3a82c95e72b2ed52..66de511d0e944e8f14e90e558d421a949862364e 100644 (file)
@@ -2460,7 +2460,7 @@ match_at(regex_t* reg, const UChar* str, const UChar* end,
 #endif
 #else
 #if defined(USE_THREADED_CODE) && defined(USE_DIRECT_THREADED_CODE)
-  static Operation FinishCode[] = { { {.opcode=OP_FINISH, .opaddr=&&L_FINISH} } };
+  static Operation FinishCode[] = { { {.opaddr=&&L_FINISH} } };
 #else
   static Operation FinishCode[] = { { {OP_FINISH} } };
 #endif