Fix compiler warnings in auth-token stuff.

This commit is contained in:
Juan Carlos Luciani
2005-12-16 15:57:46 +00:00
parent ec113054eb
commit a835a9cf9b
8 changed files with 11 additions and 6 deletions

View File

@@ -26,6 +26,7 @@
#define _GNU_SOURCE
#include <stdarg.h>
#include <syslog.h>
#ifndef LINUX

View File

@@ -182,7 +182,6 @@ EncodeData(
{
CasaStatus retStatus;
int encodedSize;
char *pBuffer;
DbgTrace(3, "krb5_token -EncodeData- Start\n", 0);

View File

@@ -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

View File

@@ -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>