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) {
|
switch (pool->type) {
|
||||||
case WV_BUFFER_SHM:
|
case WV_BUFFER_SHM:
|
||||||
if (pool->stride != buffer->stride)
|
if (pool->stride != buffer->stride) {
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/* fall-through */
|
/* fall-through */
|
||||||
#ifdef ENABLE_SCREENCOPY_DMABUF
|
#ifdef ENABLE_SCREENCOPY_DMABUF
|
||||||
|
|
Loading…
Reference in New Issue