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 1kuhCm-0005Yx-4Y for pgsql-committers@arkaria.postgresql.org; Wed, 30 Dec 2020 19:32:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kuhCk-0007BO-UJ for pgsql-committers@arkaria.postgresql.org; Wed, 30 Dec 2020 19:32:18 +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 1kuhCk-0007BH-P8 for pgsql-committers@lists.postgresql.org; Wed, 30 Dec 2020 19:32:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kuhCe-0007yr-LJ for pgsql-committers@lists.postgresql.org; Wed, 30 Dec 2020 19:32:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0BUJW9w92400627; Wed, 30 Dec 2020 14:32:09 -0500 From: Tom Lane To: Alexander Korotkov cc: pgsql-committers Subject: Re: pgsql: Multirange datatypes In-reply-to: References: <2246043.1609290699@sss.pgh.pa.us> Comments: In-reply-to Alexander Korotkov message dated "Wed, 30 Dec 2020 21:20:36 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2400625.1609356729.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 30 Dec 2020 14:32:09 -0500 Message-ID: <2400626.1609356729@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alexander Korotkov writes: > On Wed, Dec 30, 2020 at 4:11 AM Tom Lane wrote: >> Multiple buildfarm members are issuing similar warnings about >> multirangetypes.c: >> calliphoridae | 2020-12-29 23:10:11 | /home/andres/build/buildfarm-call= iphoridae/HEAD/pgsql.build/../pgsql/src/backend/utils/adt/multirangetypes.= c:218:37: warning: suggest braces around empty body in an 'else' statement= [-Wempty-body] >> calliphoridae | 2020-12-29 23:10:11 | /home/andres/build/buildfarm-call= iphoridae/HEAD/pgsql.build/../pgsql/src/backend/utils/adt/multirangetypes.= c:236:37: warning: suggest braces around empty body in an 'else' statement= [-Wempty-body] > Thank you for noticing. I've slightly refactored this function in 16d53= 1a30a. Looks good, thanks! regards, tom lane