Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkIi1-0008L9-OM for pgsql-committers@arkaria.postgresql.org; Wed, 02 Dec 2020 03:21:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkIi0-0006o2-Ly for pgsql-committers@arkaria.postgresql.org; Wed, 02 Dec 2020 03:21:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkIi0-0006nt-GK for pgsql-committers@lists.postgresql.org; Wed, 02 Dec 2020 03:21:36 +0000 Received: from [64.147.123.20] (helo=wout4-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkIhy-0005qt-1n for pgsql-committers@lists.postgresql.org; Wed, 02 Dec 2020 03:21:36 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id E58094E7; Tue, 1 Dec 2020 22:21:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 01 Dec 2020 22:21:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=9wQpD1ZzSRg+w38JcnFr5YDPZT/ MDltnTEC6J2z1BNY=; b=VOkHUMjn4/bJB1cSiFvLrnRBJY/ZnaU6+LN2t28IgFb q8RAqakhSZomJ+GBqvkiQAweK6Nld0Z4potpJWRaEtasQFlm5PW9AA3e6ejlL6Ho qZ8fJJBV19LJ/L0Hrrd+PS8dmFzHXySph2OpVOm6ZnXhjPtS05RZN1hz1y0j7Ihs B94Q98L2OvKCfZudGn0A45TyHImmQur0McQBoCxgW2jl/5mWUsh71FGBy7IHJofx eG7CIoJV7BA+s+yU9Dz6xD0/l13ixE1jrFb6Etdr5bCbaYUWQzkhFWISoBBemSd5 xzUIPIah3EwwMqOBHjTiODZupyJuHWdriHDK0phdu+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=9wQpD1 ZzSRg+w38JcnFr5YDPZT/MDltnTEC6J2z1BNY=; b=EYHk5dy+q1XMdzdzzSOod0 EB/dDaWYNIqagK1ey9he7Up6M7nzfE8kb5sKGiZ+LRIz8zLcAZIUu4PzZudeTf0f jxbN/qMVW5kvOVtUWtvDUqb9i89olqD3h9SVXiZwIJ3CmsNyCJrefyqNgIgk4Pt8 73fDL4YAEA7Z8NzfDayVQhiyz8f1dH55osQoeYKqBOvheiaJfn1TdElzkEUVasug o5zxGblhFF9swfzMrifZUJ09RR8u13w8wr8SjB2/x1GculFsKIKCT223ZWO0A8mU YsxRkQw8bcgxvjIHvFcAnJ4n1PAAsuaFOy2PndHO/ko5Qg7VHq2f1OZ1/qfHAHPA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeifedgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucfkphepudduuddruddtvddrudektd drudekheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id ED82324005B; Tue, 1 Dec 2020 22:21:19 -0500 (EST) Date: Wed, 2 Dec 2020 12:21:16 +0900 From: Michael Paquier To: Fujii Masao Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Move SHA2 routines to a new generic API layer for crypto hashes Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aZkoPUefvoSRRzF0" Content-Disposition: inline In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.20 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --aZkoPUefvoSRRzF0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 02, 2020 at 12:14:33PM +0900, Michael Paquier wrote: > Neither gcc nor clang complain on my end, even with > -Werror=3Dmaybe-uninitialized, because they understand that the status > will be set anyway as we have no default in the switch? :) >=20 > You are right, this is bad practice for those code paths, so let's fix > it. Which version are you using? I'd like to be able to reproduce > that and double-check if there are more missing spots. Hmm. Forget that. I can see the warnings once I switched to -O2, which is what I guess you are doing. Some animals are also showing that. I'll fix in a minute. Thanks for the report! -- Michael --aZkoPUefvoSRRzF0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl/HCCwACgkQnvQgOdby QH3KLQ//TbGM1KQIEma/lHH3AUPgZ3wEcQ0dtDl2oAei6NT1oYhqJHiT6S7bnNLS 5y8JQC4h3ANiAmdEzk4/vdxDCTSzGmGPROf5kxVortsyiNGyTq/i78rjXAo/qf/J 2AaVOyf0g4W3v51zEgtdBiVb0Ao4p1pVFNx2UKHC930/rlGJfbaCCwLe0nKmXvdN fmBhvYpdX/K210mxAbMe5K9s4mWbP3UQTeg5kFXPdmXOdmHzNj1Ooix6qEFSjaeh rNDXrz8Nr17tBZJ4qVza87XDL+Y8mmPjY4X7NIUlfftTiyw7b6l7Y57HFnltBsoU eLxuNs3ki+RoIY0vKE78J67GNYC4aYVKL/9AS3MpYqdink0TDWH7zApWr+jPHEzs LxOVlKn6Sy5OhnMIgWZa/de4Me3IXy8pkBfgk/dK9iysuMoyMSJ8u7ek64OrnVql W0vzgx45Nry3Eka/Iyggd2VSKZNhfvjOp/4j5erqbMuZlwanO0OMCGVXB2uI1qU1 7t5qxosnOjM1LCdiSssaSEMsIE3FbCOJReR4i5ELYyZFuHxt6dLGBVZ78VSnBl1u sh+eE7dHGrkvtoSxiOli+OTx9mprS8foZPBkPu9sWTfEhn949CqOt2Vvbf7AywiC S6QCSU3dHohE1UlCqW9p1vCsY+OKwJq/s4OJ76O2JWFF1S+OIRQ= =4a8Z -----END PGP SIGNATURE----- --aZkoPUefvoSRRzF0--