From ef5d4bcc3a21f1aa3e6a919c8888f26ec754707f Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 6 May 2015 16:32:28 +0800 Subject: [PATCH] ilo: silence a compiler warning Silence ilo_query.c:120:7: warning: 'return' with no value, in function returning non-void since commit 96f164f6. --- src/gallium/drivers/ilo/ilo_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/ilo/ilo_query.c b/src/gallium/drivers/ilo/ilo_query.c index 57f920c03ee..27d08128ab0 100644 --- a/src/gallium/drivers/ilo/ilo_query.c +++ b/src/gallium/drivers/ilo/ilo_query.c @@ -117,7 +117,7 @@ ilo_begin_query(struct pipe_context *pipe, struct pipe_query *query) struct ilo_query *q = ilo_query(query); if (q->active) - return; + return false; util_query_clear_result(&q->result, q->type); q->used = 0; -- 2.30.2