buffer: Add braces to side-step bogus fallthrough warning
parent
800a460444
commit
8a70c54928
|
@ -308,8 +308,9 @@ static bool wv_buffer_pool_match_buffer(struct wv_buffer_pool* pool,
|
|||
|
||||
switch (pool->type) {
|
||||
case WV_BUFFER_SHM:
|
||||
if (pool->stride != buffer->stride)
|
||||
if (pool->stride != buffer->stride) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/* fall-through */
|
||||
#ifdef ENABLE_SCREENCOPY_DMABUF
|
||||
|
|
Loading…
Reference in New Issue