pgsql: Fix compiler warning in mul_var_short().

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix compiler warning in mul_var_short().
Date: 2024-08-26 10:03:28
Message-ID: E1siWZM-001Y7l-DI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-08-26 13:01:15 pgsql: pg_upgrade: Message style improvements
Previous Message Bruce Momjian 2024-08-26 02:09:46 pgsql: doc PG 17 relnotes: remove ALTER TABLE SPLIT/MERGE PARTITION