summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-05-06 16:32:28 +0800
committerChia-I Wu <[email protected]>2015-05-06 16:35:30 +0800
commitef5d4bcc3a21f1aa3e6a919c8888f26ec754707f (patch)
tree80a725b5132098900d5c9d094d2d92a02f2baeea /src/gallium/drivers/ilo
parent818cc90535404d76b69b22145f203106491d86a2 (diff)
ilo: silence a compiler warning
Silence ilo_query.c:120:7: warning: 'return' with no value, in function returning non-void since commit 96f164f6.
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/ilo_query.c2
1 files changed, 1 insertions, 1 deletions
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;