Fixed compiler warnings.
This commit is contained in:
parent
f00cb3d25c
commit
158e1323de
@ -297,7 +297,7 @@ static void audin_pulse_stream_request_callback(pa_stream* stream, size_t length
|
||||
*/
|
||||
if (pulse->buffer == NULL)
|
||||
{
|
||||
/* DEBUG_WARN( "%s: ignoring input, pulse buffer not ready.\n", __func__); */
|
||||
/* fprintf(stderr, "%s: ignoring input, pulse buffer not ready.\n", __func__); */
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -385,7 +385,7 @@ static void* audin_server_thread_func(void* arg)
|
||||
break;
|
||||
|
||||
default:
|
||||
DEBUG_WARN( "audin_server_thread_func: unknown MessageId %d\n", MessageId);
|
||||
fprintf(stderr, "audin_server_thread_func: unknown MessageId %d\n", MessageId);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ void cliprdr_packet_send(cliprdrPlugin* cliprdr, wStream* s)
|
||||
Stream_SetPosition(s, pos);
|
||||
|
||||
#ifdef WITH_DEBUG_CLIPRDR
|
||||
DEBUG_MSG("Cliprdr Sending (%d bytes)\n", dataLen + 8);
|
||||
printf("Cliprdr Sending (%d bytes)\n", dataLen + 8);
|
||||
winpr_HexDump(Stream_Buffer(s), dataLen + 8);
|
||||
#endif
|
||||
|
||||
@ -101,18 +101,18 @@ static void cliprdr_process_connect(rdpSvcPlugin* plugin)
|
||||
|
||||
void cliprdr_print_general_capability_flags(UINT32 flags)
|
||||
{
|
||||
DEBUG_WARN( "generalFlags (0x%08X) {\n", flags);
|
||||
fprintf(stderr, "generalFlags (0x%08X) {\n", flags);
|
||||
|
||||
if (flags & CB_USE_LONG_FORMAT_NAMES)
|
||||
DEBUG_WARN( "\tCB_USE_LONG_FORMAT_NAMES\n");
|
||||
fprintf(stderr, "\tCB_USE_LONG_FORMAT_NAMES\n");
|
||||
if (flags & CB_STREAM_FILECLIP_ENABLED)
|
||||
DEBUG_WARN( "\tCB_STREAM_FILECLIP_ENABLED\n");
|
||||
fprintf(stderr, "\tCB_STREAM_FILECLIP_ENABLED\n");
|
||||
if (flags & CB_FILECLIP_NO_FILE_PATHS)
|
||||
DEBUG_WARN( "\tCB_FILECLIP_NO_FILE_PATHS\n");
|
||||
fprintf(stderr, "\tCB_FILECLIP_NO_FILE_PATHS\n");
|
||||
if (flags & CB_CAN_LOCK_CLIPDATA)
|
||||
DEBUG_WARN( "\tCB_CAN_LOCK_CLIPDATA\n");
|
||||
fprintf(stderr, "\tCB_CAN_LOCK_CLIPDATA\n");
|
||||
|
||||
DEBUG_WARN( "}\n");
|
||||
fprintf(stderr, "}\n");
|
||||
}
|
||||
|
||||
static void cliprdr_process_general_capability(cliprdrPlugin* cliprdr, wStream* s)
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <winpr/print.h>
|
||||
#include <winpr/stream.h>
|
||||
|
||||
#include <freerdp/utils/debug.h>
|
||||
#include "cliprdr_main.h"
|
||||
|
||||
/**
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <winpr/print.h>
|
||||
#include <winpr/stream.h>
|
||||
|
||||
#include <freerdp/utils/debug.h>
|
||||
#include "rdpdr_main.h"
|
||||
|
||||
static UINT32 g_ClientId = 0;
|
||||
|
@ -29,6 +29,8 @@
|
||||
#include <winpr/print.h>
|
||||
#include <winpr/stream.h>
|
||||
|
||||
#include <freerdp/utils/debug.h>
|
||||
|
||||
#include "rdpsnd_main.h"
|
||||
|
||||
BOOL rdpsnd_server_send_formats(RdpsndServerContext* context, wStream* s)
|
||||
|
@ -316,10 +316,10 @@ enum device_descriptor_table
|
||||
#define MAX_URB_REQUSET_NUM 0x80
|
||||
|
||||
#define LOG_LEVEL 1
|
||||
#define LLOG(_level, _args) \
|
||||
do { if (_level < LOG_LEVEL) { DEBUG_MSG(_args); } } while (0)
|
||||
#define LLOGLN(_level, _args) \
|
||||
do { if (_level < LOG_LEVEL) { DEBUG_MSG(_args); } } while (0)
|
||||
#define LLOG(_level, args) \
|
||||
do { if (_level < LOG_LEVEL) { DEBUG_MSG args ; } } while (0)
|
||||
#define LLOGLN(_level, args) \
|
||||
do { if (_level < LOG_LEVEL) { DEBUG_MSG args ; } } while (0)
|
||||
|
||||
#define dummy_wait_obj(void) do{ sleep(5); } while(0)
|
||||
#define dummy_wait_s_obj(_s) do{ sleep(_s); } while(0)
|
||||
|
Loading…
Reference in New Issue
Block a user