ruby-changes:54020
From: duerst <ko1@a...>
Date: Thu, 6 Dec 2018 18:54:17 +0900 (JST)
Subject: [ruby-changes:54020] duerst:r66240 (trunk): remove an unused variable
duerst 2018-12-06 18:54:09 +0900 (Thu, 06 Dec 2018) New Revision: 66240 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66240 Log: remove an unused variable Modified files: trunk/regparse.c Index: regparse.c =================================================================== --- regparse.c (revision 66239) +++ regparse.c (revision 66240) @@ -5825,7 +5825,6 @@ node_extended_grapheme_cluster(Node** np https://github.com/ruby/ruby/blob/trunk/regparse.c#L5825 Node* tmp = NULL; Node* np1 = NULL; Node* top_alt = NULL; - BBuf *pbuf1 = NULL; int r = 0; int num1; int i; @@ -6054,7 +6053,6 @@ node_extended_grapheme_cluster(Node** np https://github.com/ruby/ruby/blob/trunk/regparse.c#L6053 err: onig_node_free(np1); - bbuf_free(pbuf1); for (i=0; i<NODE_COMMON_SIZE; i++) onig_node_free(node_common[i]); return (r == 0) ? ONIGERR_MEMORY : r; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/