Supress -Wunused-function warnings
`sig64_to_uint64()` is only called when devel logging is enabled. Guard the function with USE_DEVEL_LOGGING macro.
This commit is contained in:
@@ -960,6 +960,8 @@ xrdp_sec_check_sig(struct xrdp_sec *self, const char *sig, int sig_len,
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Function to return a 64-bit int from an 64 bit signature */
|
||||
|
||||
#ifdef USE_DEVEL_LOGGING
|
||||
static uint64_t
|
||||
sig64_to_uint64(const char sig[], int sig_len)
|
||||
{
|
||||
@@ -980,6 +982,7 @@ sig64_to_uint64(const char sig[], int sig_len)
|
||||
|
||||
return rv;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user