unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH] ext: remove a vestige of ruby <2.0 support
@ 2023-06-05  9:15 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2023-06-05  9:15 UTC (permalink / raw)
  To: unicorn-public

The actual `id_clear' declaration was removed last year, but
I missed it's (unused) initialization :x

Fixes: c56eb04d683e ("drop Ruby 1.9.3 support, require 2.0+ for now")
---
 ext/unicorn_http/unicorn_http.rl | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ext/unicorn_http/unicorn_http.rl b/ext/unicorn_http/unicorn_http.rl
index afdf680..fb5dcde 100644
--- a/ext/unicorn_http/unicorn_http.rl
+++ b/ext/unicorn_http/unicorn_http.rl
@@ -1033,9 +1033,6 @@ void Init_unicorn_http(void)
   id_set_backtrace = rb_intern("set_backtrace");
   init_unicorn_httpdate();
 
-#ifndef HAVE_RB_HASH_CLEAR
-  id_clear = rb_intern("clear");
-#endif
   id_is_chunked_p = rb_intern("is_chunked?");
 
   init_epollexclusive(mUnicorn);

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-05  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-05  9:15 [PATCH] ext: remove a vestige of ruby <2.0 support Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).