projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818cc90
)
ilo: silence a compiler warning
author
Chia-I Wu
<olvaffe@gmail.com>
Wed, 6 May 2015 08:32:28 +0000
(16:32 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Wed, 6 May 2015 08:35:30 +0000
(16:35 +0800)
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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_query.c
b/src/gallium/drivers/ilo/ilo_query.c
index 57f920c03ee58b9ad15b2aaba3feec8c6e003d51..27d08128ab0f2bad4652ef172486315f344c7b2a 100644
(file)
--- 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;