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.92) (envelope-from ) id 1j75mZ-00086J-Lt for pgsql-committers@arkaria.postgresql.org; Wed, 26 Feb 2020 23:08:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j75mX-0008IE-FQ for pgsql-committers@arkaria.postgresql.org; Wed, 26 Feb 2020 23:07:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j75mX-0008I6-4G for pgsql-committers@lists.postgresql.org; Wed, 26 Feb 2020 23:07:57 +0000 Received: from mail-qv1-xf44.google.com ([2607:f8b0:4864:20::f44]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j75mT-0004tg-Jo for pgsql-committers@lists.postgresql.org; Wed, 26 Feb 2020 23:07:56 +0000 Received: by mail-qv1-xf44.google.com with SMTP id o18so670662qvf.1 for ; Wed, 26 Feb 2020 15:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=UB/F+lULDW2T98Iiw5RlMwAOHrRoVuehdQQkOmLrW3w=; b=CKyZVF429W4SyuJR3FZgeepcMaSwdyiEmx09H7N2dN3JUqOXQdrRRUjYNUOs6/V3Aw gi5WnGvP/SMwmi7B8Z2AF6aDEMCziBJgDTpK4vRqGS5hByJ6sV+7pUy/dAqf4wJysKMO 3e1J5Ar7eGYJ+7YyIbjyG83WNcHoirj9lF+J7HHFlCrSD32pWTDucIg76T7M2AUsXcBL uWNffYMig2Pq7XTjb5nW+gzMEFKrj1ZK6iqkuyUko8HIFMJc9M7XYbFH8kp8/0AhZ1nJ l+fjHuyCOW51+vhkmDIKrWPluSMIJQZh8KukG8FJKo7qyB8mSKGAYBRH5ga33zTW+6Gi XkUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=UB/F+lULDW2T98Iiw5RlMwAOHrRoVuehdQQkOmLrW3w=; b=uFazbmytbcFDNMaqLeHdGRle7BKJFhbA4S+4r73irCDybmkuu2z+96c8Vlb1wYIUpn ChDD7ZPBHx9tF9amnV4eKmoYZf1dboluqo51wKMz1bOHA3nL07kVeu0H9Dk7YIxvDhct W+4kfY5I5aE4fQ5DUooFtUDIKoU3D/ucQ0/D1irAOP9vQ6T8+wGD7NK3xzOJZWKJR9FI KHlD/0EwpSGRiHlnGIYisrw9Fwcdn9iHM3U5pop4kD19/NFkoFJbCuF+6Qh9s7JcqMmk c5FzS98B+VrBucjFYhjMuA1uOpacvHDJeGDvCXIT62igjLFTj6GByYTIuLxW0nX8Yfmb fpJA== X-Gm-Message-State: APjAAAWxy9bctOeXIwwasiPymyJPXg0enxaxiNiXWhYZ2dZze3qrArkp S2mXAq1kQMoFxKqoIotFqPD52nw1B2Y= X-Google-Smtp-Source: APXvYqybVJqAwq90vj8BNkdppzHGCoO41CDi5xN/pLIOI3T7RZXs/F7IERiwL9QAl4i6pWCBJ7VkHQ== X-Received: by 2002:a05:6214:725:: with SMTP id c5mr1692802qvz.195.1582758471513; Wed, 26 Feb 2020 15:07:51 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([179.56.51.165]) by smtp.gmail.com with ESMTPSA id o17sm1972182qtj.80.2020.02.26.15.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 15:07:50 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 9F632300651; Wed, 26 Feb 2020 20:07:48 -0300 (-03) Date: Wed, 26 Feb 2020 20:07:48 -0300 From: Alvaro Herrera To: Peter Geoghegan Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Silence compiler warning in nbtinsert.c. Message-ID: <20200226230748.GA28775@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Feb-26, Peter Geoghegan wrote: > Silence compiler warning in nbtinsert.c. > > Per buildfarm member longfin. I'm seeing another one: /pgsql/source/master/src/backend/access/nbtree/nbtinsert.c: In function '_bt_insertonpg': /pgsql/source/master/src/backend/access/nbtree/nbtinsert.c:1231:4: warning: 'oposting' may be used uninitialized in this function [-Wmaybe-uninitialized] memcpy(oposting, nposting, MAXALIGN(IndexTupleSize(nposting))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thanks -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services