]> git.proxmox.com Git - mirror_ovs.git/commitdiff
db-ctl-base: Fix build with gcc 7.3 with O3.
authorDarrell Ball <dlu998@gmail.com>
Mon, 16 Jul 2018 18:33:39 +0000 (11:33 -0700)
committerBen Pfaff <blp@ovn.org>
Sat, 4 Aug 2018 00:37:05 +0000 (17:37 -0700)
Signed-off-by: Darrell Ball <dlu998@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/db-ctl-base.c

index 4e0eb9c5ce0ce67875d1db14fd9a343aa4fcd315..fc0929317afa178ef633344bdffff5213e723de8 100644 (file)
@@ -1279,7 +1279,7 @@ cmd_find(struct ctl_context *ctx)
         int i;
 
         for (i = 2; i < ctx->argc; i++) {
-            bool satisfied;
+            bool satisfied = false;
 
             ctx->error = check_condition(table, row, ctx->argv[i],
                                          ctx->symtab, &satisfied);