Fix compiler warning in mul_var_short().

Dean Rasheed <dean.a.rasheed@gmail.com>

Commit: 7cac6307a43c1fcbd050724d3995a489da62e852
Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Date: 2024-08-26T10:00:20Z
Releases: 18.0
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.

Files

PathChange+/−
src/backend/utils/adt/numeric.c modified +1 −2