Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ihTzw-0004tF-V0 for pgsql-committers@arkaria.postgresql.org; Wed, 18 Dec 2019 07:43:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ihTzv-0006KL-PT for pgsql-committers@arkaria.postgresql.org; Wed, 18 Dec 2019 07:43:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ihTzv-0006KC-4v for pgsql-committers@lists.postgresql.org; Wed, 18 Dec 2019 07:43:55 +0000 Received: from lb1-smtp-cloud9.xs4all.net ([194.109.24.22]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ihTzr-0005nL-Da for pgsql-committers@lists.postgresql.org; Wed, 18 Dec 2019 07:43:54 +0000 Received: from webmailclassic.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:195]) by smtp-cloud9.xs4all.net with ESMTPA id hTzniA42yGyJwhTzniCX1m; Wed, 18 Dec 2019 08:43:47 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1576655027; bh=xhkzAkDqDZleRi3fDI/4mlAqGgJXgEVuFE70h+qF9A4=; h=MIME-Version:Content-Type:Date:From:To:Subject:Message-ID:From: Subject; b=J9S6i6vL1zUA1qbftT494GcvqrY7LSIMnBadSS6E3Ot0lnJ5vgjDhQnApM+xBkHCQ vbyiJI7RNePI79q+FmqiW3C05htwdNMAUTip49Kd2Ha8WCzsyoLr97b7tb+iy0yE2+ zEVIR6fXCz072nBcZDbg5wMpmlhZAipF20eJwltR8BINseNyoYMRlvnSzw7C5xYh6F mixYI4/ovAUk4TEy5g2Jia2/Z/CEFEvrtn7NIebsQXfrMHKle61WJ33nLfYXJektIb fe+Cded8r+8AJ+X9FG2M44WjgF9gz11TjS5CooP0kiduYFlpGTi8KWzM022hjRNxio uIqE9Os9AQVSQ== Received: from 2001:983:39b6:1:7981:ea81:727b:ac8d by webmailclassic.xs4all.nl with HTTP (HTTP/1.1 POST); Wed, 18 Dec 2019 08:43:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 18 Dec 2019 08:43:47 +0100 From: er To: Michael Paquier Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Refactor attribute mappings used in logical tuple conversion In-Reply-To: References: Message-ID: X-Sender: er@xs4all.nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfDUBfSA2drRSEHz+EaeHWGhKZSDnmu3Hcp35e6xqDegI2CCdybyHjDbFk7Ppjg/OQKiWvsWyHpLr+G27+QRJ2n2eZfARsooCDh4D9gJUXnmUqH/cJhcJ FGgrPyo5CSyr6YtbAEvCW4UXzk5Q4XyuwCyKixPQL5kTwohXSIW/cQyeA4U+NgyFdpAXc1cWZefkPNtQEuWVcqL0fL5uzdudjQ9vJZHXTZFTTZ+VB/9NIQPP CSFx/8M0z2zrvp1tiH9IAY+1SMRvIhu64EQ+SjKj6gs= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-12-18 08:25, Michael Paquier wrote: > Refactor attribute mappings used in logical tuple conversion gcc (9.2.0) mutters this: tupconvert.c: In function ‘execute_attr_map_tuple’: tupconvert.c:146:8: warning: unused variable ‘outnatts’ [-Wunused-variable] 146 | int outnatts = map->outdesc->natts; | ^~~~~~~~ (Otherwise compiles & runs fine.)