mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[warnings] fix some more warnings
This commit is contained in:
@@ -259,10 +259,12 @@ static UINT sshagent_on_close(IWTSVirtualChannelCallback* pChannelCallback)
|
||||
*
|
||||
* @return 0 on success, otherwise a Win32 error code
|
||||
*/
|
||||
// NOLINTBEGIN(readability-non-const-parameter)
|
||||
static UINT sshagent_on_new_channel_connection(IWTSListenerCallback* pListenerCallback,
|
||||
IWTSVirtualChannel* pChannel, BYTE* Data,
|
||||
BOOL* pbAccept,
|
||||
IWTSVirtualChannelCallback** ppCallback)
|
||||
// NOLINTEND(readability-non-const-parameter)
|
||||
{
|
||||
SSHAGENT_LISTENER_CALLBACK* listener_callback = (SSHAGENT_LISTENER_CALLBACK*)pListenerCallback;
|
||||
WINPR_UNUSED(Data);
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
#define TAG CLIENT_TAG("sdl.cliprdr")
|
||||
|
||||
#define mime_text_plain "text/plain"
|
||||
#define mime_text_utf8 mime_text_plain ";charset=utf-8"
|
||||
// NOLINTNEXTLINE(bugprone-suspicious-missing-comma)
|
||||
const char mime_text_utf8[] = mime_text_plain ";charset=utf-8";
|
||||
|
||||
static const std::vector<const char*>& s_mime_text()
|
||||
{
|
||||
|
||||
@@ -39,7 +39,8 @@
|
||||
#define TAG CLIENT_TAG("wayland.cliprdr")
|
||||
|
||||
#define mime_text_plain "text/plain"
|
||||
#define mime_text_utf8 mime_text_plain ";charset=utf-8"
|
||||
// NOLINTNEXTLINE(bugprone-suspicious-missing-comma)
|
||||
static const char mime_text_utf8[] = mime_text_plain ";charset=utf-8";
|
||||
|
||||
// NOLINTNEXTLINE(bugprone-suspicious-missing-comma)
|
||||
static const char* mime_text[] = { mime_text_plain, mime_text_utf8, "UTF8_STRING",
|
||||
|
||||
Reference in New Issue
Block a user