[ovs-dev] [patch v1] db-ctl-base: Fix build with gcc 7.3 with O3.

Darrell Ball dlu998 at gmail.com
Mon Jul 16 18:33:39 UTC 2018


Signed-off-by: Darrell Ball <dlu998 at gmail.com>
---
 lib/db-ctl-base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/db-ctl-base.c b/lib/db-ctl-base.c
index ab35d63..34fb836 100644
--- a/lib/db-ctl-base.c
+++ b/lib/db-ctl-base.c
@@ -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);
-- 
1.9.1



More information about the dev mailing list