From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 208.118.235.0/24 X-Spam-Status: No, score=-6.9 required=3.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: dtas-all@80x24.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 627DD63381A for ; Sat, 3 Jan 2015 03:09:04 +0000 (UTC) Received: from localhost ([::1]:53359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7F5L-0006Ym-LB for dtas-all@80x24.org; Fri, 02 Jan 2015 22:09:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7F5I-0006UU-Sp for dtas-all@nongnu.org; Fri, 02 Jan 2015 22:09:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7F5H-0004vV-M2 for dtas-all@nongnu.org; Fri, 02 Jan 2015 22:09:00 -0500 Received: from dcvr.yhbt.net ([64.71.152.64]:47303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7F5H-0004vK-G8 for dtas-all@nongnu.org; Fri, 02 Jan 2015 22:08:59 -0500 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 4F5611FA73 for ; Sat, 3 Jan 2015 03:08:55 +0000 (UTC) From: Eric Wong To: Subject: [PATCH] splitfx: remove redundant Hash#merge call Date: Sat, 3 Jan 2015 03:08:54 +0000 Message-Id: <1420254534-9581-3-git-send-email-e@80x24.org> X-Mailer: git-send-email 2.2.1.202.g55b961f X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.71.152.64 X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dtas-all-bounces+dtas-all=80x24.org@nongnu.org Sender: dtas-all-bounces+dtas-all=80x24.org@nongnu.org This was unnecessary since we already iterate through the overrides hash and merge "manually" based on command-line arguments (which allows us to represent nested hashes). --- lib/dtas/splitfx.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb index dac2a97..8aa37e7 100644 --- a/lib/dtas/splitfx.rb +++ b/lib/dtas/splitfx.rb @@ -101,7 +101,6 @@ class DTAS::SplitFX # :nodoc: end end - hash = hash.merge(overrides) case v = hash["track_zpad"] when Integer then @track_zpad = val else -- EW