mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnings] fix clang-tidy warnings
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#include "../log.h"
|
||||
#define TAG WINPR_TAG("clipboard")
|
||||
|
||||
const char* mime_text_plain = "text/plain";
|
||||
const char* const mime_text_plain = "text/plain";
|
||||
|
||||
/**
|
||||
* Clipboard (Windows):
|
||||
|
||||
@@ -72,6 +72,6 @@ WINPR_LOCAL BOOL ClipboardInitSynthesizers(wClipboard* clipboard);
|
||||
|
||||
WINPR_LOCAL char* parse_uri_to_local_file(const char* uri, size_t uri_len);
|
||||
|
||||
extern const char* mime_text_plain;
|
||||
extern const char* const mime_text_plain;
|
||||
|
||||
#endif /* WINPR_CLIPBOARD_PRIVATE_H */
|
||||
|
||||
@@ -50,7 +50,8 @@ krb5_error_code krb5glue_update_keyset(krb5_context ctx, krb5_auth_context auth_
|
||||
|
||||
krb5glue_keys_free(ctx, keyset);
|
||||
|
||||
if (!(rv = krb5_auth_con_getkey(ctx, auth_ctx, &keyblock)))
|
||||
rv = krb5_auth_con_getkey(ctx, auth_ctx, &keyblock);
|
||||
if (!rv)
|
||||
{
|
||||
krb5_crypto_init(ctx, keyblock, ENCTYPE_NULL, &keyset->session_key);
|
||||
krb5_free_keyblock(ctx, keyblock);
|
||||
|
||||
Reference in New Issue
Block a user