Fix warnings found in Xcode
This commit is contained in:
parent
352dbd52e2
commit
a9eed46e38
@ -36,6 +36,7 @@
|
||||
#include "cliprdr_main.h"
|
||||
#include "cliprdr_format.h"
|
||||
|
||||
#ifdef WITH_DEBUG_CLIPRDR
|
||||
static const char* const CB_MSG_TYPE_STRINGS[] =
|
||||
{
|
||||
"",
|
||||
@ -51,6 +52,7 @@ static const char* const CB_MSG_TYPE_STRINGS[] =
|
||||
"CB_LOCK_CLIPDATA"
|
||||
"CB_UNLOCK_CLIPDATA"
|
||||
};
|
||||
#endif
|
||||
|
||||
CliprdrClientContext* cliprdr_get_client_interface(cliprdrPlugin* cliprdr)
|
||||
{
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
#include "transport.h"
|
||||
|
||||
#ifdef WITH_DEBUG_NEGO
|
||||
static const char* const NEGO_STATE_STRINGS[] =
|
||||
{
|
||||
"NEGO_STATE_INITIAL",
|
||||
@ -55,6 +56,7 @@ static const char PROTOCOL_SECURITY_STRINGS[9][4] =
|
||||
"UNK",
|
||||
"EXT"
|
||||
};
|
||||
#endif // WITH_DEBUG_NEGO
|
||||
|
||||
BOOL nego_security_connect(rdpNego* nego);
|
||||
|
||||
|
@ -190,10 +190,14 @@ BOOL SetWaitableTimer(HANDLE hTimer, const LARGE_INTEGER* lpDueTime, LONG lPerio
|
||||
{
|
||||
ULONG Type;
|
||||
PVOID Object;
|
||||
int status = 0;
|
||||
WINPR_TIMER* timer;
|
||||
#ifdef WITH_POSIX_TIMER
|
||||
LONGLONG seconds = 0;
|
||||
LONGLONG nanoseconds = 0;
|
||||
#ifdef HAVE_TIMERFD_H
|
||||
int status = 0;
|
||||
#endif // HAVE_TIMERFD_H
|
||||
#endif // WITH_POSIX_TIMER
|
||||
|
||||
if (!winpr_Handle_GetInfo(hTimer, &Type, &Object))
|
||||
return FALSE;
|
||||
|
@ -901,8 +901,8 @@ typedef struct _trio_userdef_t {
|
||||
* Internal Variables
|
||||
*
|
||||
*************************************************************************/
|
||||
|
||||
static TRIO_CONST char rcsid[] = "@(#)$Id: trio.c,v 1.131 2010/09/12 11:08:08 breese Exp $";
|
||||
/* Unused but kept for reference */
|
||||
/* static TRIO_CONST char rcsid[] = "@(#)$Id: trio.c,v 1.131 2010/09/12 11:08:08 breese Exp $"; */
|
||||
|
||||
#if TRIO_FEATURE_FLOAT
|
||||
/*
|
||||
|
@ -227,7 +227,8 @@
|
||||
*/
|
||||
|
||||
#if !defined(TRIO_EMBED_NAN)
|
||||
static TRIO_CONST char rcsid[] = "@(#)$Id: trionan.c,v 1.33 2005/05/29 11:57:25 breese Exp $";
|
||||
/* Unused but kept for reference */
|
||||
/* static TRIO_CONST char rcsid[] = "@(#)$Id: trionan.c,v 1.33 2005/05/29 11:57:25 breese Exp $"; */
|
||||
#endif
|
||||
|
||||
#if defined(TRIO_FUNC_INTERNAL_MAKE_DOUBLE) \
|
||||
|
@ -160,7 +160,8 @@ struct _trio_string_t
|
||||
*/
|
||||
|
||||
#if !defined(TRIO_EMBED_STRING)
|
||||
static TRIO_CONST char rcsid[] = "@(#)$Id: triostr.c,v 1.36 2010/01/26 13:02:02 breese Exp $";
|
||||
/* Unused but kept for reference */
|
||||
/* static TRIO_CONST char rcsid[] = "@(#)$Id: triostr.c,v 1.36 2010/01/26 13:02:02 breese Exp $"; */
|
||||
#endif
|
||||
|
||||
/*************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user