mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[freerdp,client] mark function pointers [[nodiscard]]
This commit is contained in:
@@ -63,7 +63,7 @@ typedef struct
|
||||
int type;
|
||||
bool focus;
|
||||
bool clicked;
|
||||
OnClick onclick;
|
||||
WINPR_ATTR_NODISCARD OnClick onclick;
|
||||
Window handle;
|
||||
} xfFloatbarButton;
|
||||
|
||||
|
||||
@@ -975,7 +975,7 @@ typedef struct
|
||||
const char* optname;
|
||||
FreeRDP_Settings_Keys_String id;
|
||||
CmdLineSubOptionType opttype;
|
||||
CmdLineSubOptionCb cb;
|
||||
WINPR_ATTR_NODISCARD CmdLineSubOptionCb cb;
|
||||
} CmdLineSubOptions;
|
||||
|
||||
static BOOL parseSubOptions(rdpSettings* settings, const CmdLineSubOptions* opts, size_t count,
|
||||
|
||||
@@ -39,7 +39,7 @@ typedef struct mf_context
|
||||
CLIPRDR_FORMAT *serverFormats;
|
||||
CliprdrClientContext *cliprdr;
|
||||
UINT32 clipboardCapabilities;
|
||||
pServerCutText ServerCutText;
|
||||
WINPR_ATTR_NODISCARD pServerCutText ServerCutText;
|
||||
} mfContext;
|
||||
|
||||
struct mf_info
|
||||
|
||||
Reference in New Issue
Block a user