Fix compiler warnings in auth-token stuff.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <syslog.h>
|
||||
|
||||
#ifndef LINUX
|
||||
|
||||
@@ -182,7 +182,6 @@ EncodeData(
|
||||
{
|
||||
CasaStatus retStatus;
|
||||
int encodedSize;
|
||||
char *pBuffer;
|
||||
|
||||
|
||||
DbgTrace(3, "krb5_token -EncodeData- Start\n", 0);
|
||||
|
||||
@@ -419,7 +419,7 @@ ConfigIf__GetEntryValue(
|
||||
DbgTrace(0, "auth_token -ConfigIf_GetEntryValue- Buffer allocation failure\n", 0);
|
||||
}
|
||||
|
||||
DbgTrace(2, "auth_token -ConfigIf_GetEntryValue- End, pValue = %08X\n", pValue);
|
||||
DbgTrace(2, "auth_token -ConfigIf_GetEntryValue- End, pValue = %08X\n", (unsigned int) pValue);
|
||||
|
||||
return pValue;
|
||||
}
|
||||
@@ -571,7 +571,6 @@ GetConfigInterface(
|
||||
char *pKey;
|
||||
char *pKeyEnd;
|
||||
char *pValue;
|
||||
int keyLen, valueLen;
|
||||
ConfigKey *pConfigKey;
|
||||
|
||||
// Attempt to find the key
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <syslog.h>
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
|
||||
Reference in New Issue
Block a user