bdr: Properly initialize stack variable.
authorAndres Freund <andres@anarazel.de>
Mon, 9 Jun 2014 08:50:39 +0000 (10:50 +0200)
committerAndres Freund <andres@anarazel.de>
Thu, 3 Jul 2014 15:55:40 +0000 (17:55 +0200)
contrib/bdr/bdr_locks.c

index be116ea3b2155c990f3b5c2cf26187495e6fcbe3..a78a000de19b6d3f0765d2e31851c65e37d21c45 100644 (file)
@@ -913,7 +913,7 @@ bdr_process_replay_confirm(uint64 sysid, TimeLineID tli,
        TimeLineID      replay_tli;
        Oid             replay_datid;
        StringInfoData  s;
-       bool            found;
+       bool            found = false;
 
        initStringInfo(&s);