diff options
author | Simon Ser <contact@emersion.fr> | 2019-11-24 19:33:26 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-11-25 08:54:04 -0500 |
commit | bcd5f7d259690b547d9858d201b1126df78c6451 (patch) | |
tree | 8d8296d6abeb03145bb54073c480ee8f93a95599 /docs | |
parent | 6bd7a62c09af07dfecd2ae1d056d1cb2c68c2b01 (diff) |
render: remove return in wlr_texture_get_size
Otherwise this error happens:
../subprojects/wlroots/render/wlr_texture.c: In function ‘wlr_texture_get_size’:
../subprojects/wlroots/render/wlr_texture.c:47:9: error: ISO C forbids ‘return’ with expression, in function returning void [-Werror=pedantic]
47 | return texture->impl->get_size(texture, width, height);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/wlroots/render/wlr_texture.c:45:6: note: declared here
45 | void wlr_texture_get_size(struct wlr_texture *texture, int *width,
| ^~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions