From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D0E861F542 for ; Mon, 5 Jun 2023 09:15:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yhbt.net; s=selector1; t=1685956516; bh=RzK9rFoh49kGbaIWIxALC6iFkVkzXLO7kUWyNnOT96o=; h=From:To:Subject:Date:From; b=pi1sKAdlVr6hj3Y5uxs9HyF6zhnKmG2M584EvELSgqD/AOpAmXf6DJZHs3asQjKZE 1NqtPWLNpC8oSFAIyHYV+U3pjq5sHG+DN6uDPEX0IrxjSxH1ojal/KD7niF3G4QdBt LK7xgYw2d1utEg8XX6Ot0Kbwr2csrtBlaNXT+PX4= From: Eric Wong To: unicorn-public@yhbt.net Subject: [PATCH] ext: remove a vestige of ruby <2.0 support Date: Mon, 5 Jun 2023 09:15:16 +0000 Message-ID: <20230605091516.294752-1-bofh@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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);