diff --git a/rdtk/librdtk/rdtk_font.c b/rdtk/librdtk/rdtk_font.c index deb09deb3..27f32401d 100644 --- a/rdtk/librdtk/rdtk_font.c +++ b/rdtk/librdtk/rdtk_font.c @@ -240,7 +240,8 @@ static int rdtk_font_convert_descriptor_code_to_utf8(const char* str, uint8_t* u return 1; } -static int rdtk_font_parse_descriptor_buffer(rdtkFont* font, char* buffer, size_t size) +static int rdtk_font_parse_descriptor_buffer(rdtkFont* font, char* buffer, + WINPR_ATTR_UNUSED size_t size) { int rc = -1; diff --git a/rdtk/librdtk/rdtk_label.c b/rdtk/librdtk/rdtk_label.c index 298bf1711..f0220858b 100644 --- a/rdtk/librdtk/rdtk_label.c +++ b/rdtk/librdtk/rdtk_label.c @@ -25,8 +25,8 @@ #include "rdtk_label.h" int rdtk_label_draw(rdtkSurface* surface, uint16_t nXDst, uint16_t nYDst, uint16_t nWidth, - uint16_t nHeight, rdtkLabel* label, const char* text, uint16_t hAlign, - uint16_t vAlign) + uint16_t nHeight, WINPR_ATTR_UNUSED rdtkLabel* label, const char* text, + WINPR_ATTR_UNUSED uint16_t hAlign, WINPR_ATTR_UNUSED uint16_t vAlign) { uint16_t offsetX = 0; uint16_t offsetY = 0;