Skip to content

Commit 5ea1a66

Browse files
lockieRobLoach
andauthored
Use NK_UNUSED macro
Co-authored-by: Rob Loach <robloach@gmail.com>
1 parent 019df39 commit 5ea1a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/allegro5/nuklear_allegro5.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ NK_API void nk_allegro5_del_image(struct nk_image* image)
9898
static float
9999
nk_allegro5_font_get_text_width(nk_handle handle, float height, const char *text, int len)
100100
{
101-
(void)height;
101+
NK_UNUSED(height);
102102
NkAllegro5Font *font = (NkAllegro5Font*)handle.ptr;
103103
if (!font || !text) {
104104
return 0;

0 commit comments

Comments
 (0)