pgsql: Fix uninitialized-variable warning.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix uninitialized-variable warning.
Date: 2014-11-25 20:17:33
Message-ID: E1XtMYH-0002Am-Ng@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix uninitialized-variable warning.

In passing, add an Assert defending the presumption that bytes_left
is positive to start with. (I'm not exactly convinced that using an
unsigned type was such a bright thing here, but let's at least do
this much.)

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d934a052348c1fa017ff677d08e74c643e3f416c

Modified Files
--------------
src/backend/utils/misc/guc.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-11-25 20:20:43 Re: pgsql: Add infrastructure to save and restore GUC values.
Previous Message Simon Riggs 2014-11-25 20:14:41 pgsql: action_at_recovery_target recovery config option