[warnings] fix some compiler warnings

* fix compiler warnings found in a lot of places
* add missing enum type for clipboard channel
* mark deallocator for winpr image function
This commit is contained in:
akallabeth
2024-10-30 12:37:36 +01:00
parent d11be9025d
commit dc76879e0b
23 changed files with 215 additions and 179 deletions

View File

@@ -24,8 +24,6 @@
#include <freerdp/version.h>
#include <freerdp/build-config.h>
#define STR(x) #x
char* freerdp_GetConfigFilePath(BOOL system, const char* filename)
{
eKnownPathTypes id = system ? KNOWN_PATH_SYSTEM_CONFIG_HOME : KNOWN_PATH_XDG_CONFIG_HOME;