]> granicus.if.org Git - postgresql/commitdiff
Attempt to suppress uninitialized variable warning.
authorRobert Haas <rhaas@postgresql.org>
Wed, 26 Nov 2014 01:07:07 +0000 (20:07 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 26 Nov 2014 01:07:07 +0000 (20:07 -0500)
Report by Heikki Linnakangas.

src/backend/utils/misc/guc.c

index 6b4db305e58d65a11c1f3d07ddf840bfc312de4c..d4d74baedbc5e8eb9fcaa4c851f5cda015257ad9 100644 (file)
@@ -8503,7 +8503,7 @@ static Size
 estimate_variable_size(struct config_generic * gconf)
 {
        Size            size;
-       Size            valsize;
+       Size            valsize = 0;
 
        if (can_skip_gucvar(gconf))
                return 0;