From: Chia-I Wu Date: Wed, 6 May 2015 08:32:28 +0000 (+0800) Subject: ilo: silence a compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef5d4bcc3a21f1aa3e6a919c8888f26ec754707f;p=mesa.git ilo: silence a compiler warning Silence ilo_query.c:120:7: warning: 'return' with no value, in function returning non-void since commit 96f164f6. --- 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;