options: remove a spurious warning

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-07-26 02:44:33 +01:00
parent 04ae6934e1
commit 357968c815
2 changed files with 4 additions and 2 deletions

View File

@ -461,6 +461,7 @@ static bool image_op(backend_t *base, enum image_operations op, void *image,
return true;
}
// TODO: use copy-on-write
static void *copy(backend_t *base, const void *image, const region_t *reg) {
const struct _xrender_image_data *img = image;
struct _xrender_data *xd = (void *)base;