]> granicus.if.org Git - postgresql/commitdiff
Suppress uninitialized-variable warning.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 14 May 2015 16:16:06 +0000 (12:16 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 14 May 2015 16:16:06 +0000 (12:16 -0400)
contrib/pg_audit/pg_audit.c

index 558a96a471a6806fb1918c108bc1dabcea8694c0..60f668ca0174e9e5aa3196611b4d593cad92241e 100644 (file)
@@ -1284,7 +1284,7 @@ pg_audit_ProcessUtility_hook(Node *parsetree,
                                                         char *completionTag)
 {
        AuditEventStackItem *stackItem = NULL;
-       int64 stackId;
+       int64 stackId = 0;
 
        /*
         * Don't audit substatements.  All the substatements we care about should