mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[rdtk,warnings] fix -Wunused-parameter
This commit is contained in:
parent
3454194ea4
commit
fbd3a2bef2
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user