Message ID | 1531766019-79322-1-git-send-email-dlu998@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [ovs-dev,v1] db-ctl-base: Fix build with gcc 7.3 with O3. | expand |
On Mon, Jul 16, 2018 at 11:33:39AM -0700, Darrell Ball wrote:
> Signed-off-by: Darrell Ball <dlu998@gmail.com>
Applied to master and branch-2.10. Thank you! Let me know if it needs
further backporting.
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);
Signed-off-by: Darrell Ball <dlu998@gmail.com> --- lib/db-ctl-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)