pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix compiler warning in mul_var_short().
Date: Mon, 26 Aug 2024 10:03:28 +0000
Message-ID: <E1siWZM-001Y7l-DI@gemulon.postgresql.org> (raw)

Fix compiler warning in mul_var_short().

Some compilers (e.g., gcc before version 7) mistakenly think "carry"
might be used uninitialized.

Reported by Tom Lane, per various buildfarm members, e.g. arowana.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7cac6307a43c1fcbd050724d3995a489da62e852

Modified Files
--------------
src/backend/utils/adt/numeric.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)



Message-ID: <E1siWZM-001Y7l-DI@gemulon.postgresql.org>
Permalink:  ../E1siWZM-001Y7l-DI@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1siWZM-001Y7l-DI@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: dean.a.rasheed@gmail.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix compiler warning in mul_var_short().
  In-Reply-To: <E1siWZM-001Y7l-DI@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox