diff --git a/nuklear.h b/nuklear.h index ba2bd97..3c19f93 100644 --- a/nuklear.h +++ b/nuklear.h @@ -21311,6 +21311,8 @@ nk_layout_row_calculate_usable_space(const struct nk_style *style, enum nk_panel struct nk_vec2 spacing; + NK_UNUSED(type); + spacing = style->window.spacing; /* calculate the usable panel space */ @@ -29173,6 +29175,7 @@ nk_tooltipfv(struct nk_context *ctx, const char *fmt, va_list args) /// - [yy]: Minor version with non-breaking API and library changes /// - [zz]: Bug fix version with no direct changes to API /// +/// - 2021/03/17 (4.07.1) - Fix warning about unused parameter /// - 2021/03/17 (4.07.0) - Fix nk_property hover bug /// - 2021/03/15 (4.06.4) - Change nk_propertyi back to int /// - 2021/03/15 (4.06.3) - Update documentation for functions that now return nk_bool diff --git a/package.json b/package.json index c2a0a8a..229cb0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nuklear", - "version": "4.07.0", + "version": "4.07.1", "repo": "Immediate-Mode-UI/Nuklear", "description": "A small ANSI C gui toolkit", "keywords": ["gl", "ui", "toolkit"], diff --git a/src/CHANGELOG b/src/CHANGELOG index d2d8228..90e9d74 100644 --- a/src/CHANGELOG +++ b/src/CHANGELOG @@ -8,6 +8,7 @@ /// - [yy]: Minor version with non-breaking API and library changes /// - [zz]: Bug fix version with no direct changes to API /// +/// - 2021/03/17 (4.07.1) - Fix warning about unused parameter /// - 2021/03/17 (4.07.0) - Fix nk_property hover bug /// - 2021/03/15 (4.06.4) - Change nk_propertyi back to int /// - 2021/03/15 (4.06.3) - Update documentation for functions that now return nk_bool diff --git a/src/nuklear_layout.c b/src/nuklear_layout.c index 351d283..ae85d0d 100644 --- a/src/nuklear_layout.c +++ b/src/nuklear_layout.c @@ -49,6 +49,8 @@ nk_layout_row_calculate_usable_space(const struct nk_style *style, enum nk_panel struct nk_vec2 spacing; + NK_UNUSED(type); + spacing = style->window.spacing; /* calculate the usable panel space */