From 9f1c009497431a5fd161eb530f8f1ccfbe0acac3 Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 25 Jun 2015 23:06:48 +0000 Subject: enum.c (enum_minmax): simplify return value creation No need to call three functions on success when one will do. This results in less LoC and smaller object code, too: text data bss dec hex filename 33860 0 296 34156 856c gcc/enum.o-before 33852 0 296 34148 8564 gcc/enum.o * enum.c (enum_minmax): simplify return value creation * test/ruby/test_enum.rb: test behavior on empty git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 13229b8e0f..725dd266e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 26 07:53:56 2015 Eric Wong + + * enum.c (enum_minmax): simplify return value creation + * test/ruby/test_enum.rb: test behavior on empty + Thu Jun 25 21:24:28 2015 Naohisa Goto * test/-ext-/popen_deadlock/test_popen_deadlock.rb: test [Bug #11265] -- cgit v1.2.3