Fix compiler warnings in auth-token stuff.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Fri Dec 16 08:55:06 MST 2005 - jluciani@novell.com | ||||||
|  |  | ||||||
|  | -Fixed compiler warnings in auth-token stuff. | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Wed Dec 14 10:57:46 MST 2005 - jnorman@novell.com | Wed Dec 14 10:57:46 MST 2005 - jnorman@novell.com | ||||||
|  |  | ||||||
|   | |||||||
| @@ -26,6 +26,7 @@ | |||||||
|  |  | ||||||
| #define _GNU_SOURCE | #define _GNU_SOURCE | ||||||
|  |  | ||||||
|  | #include <stdarg.h> | ||||||
| #include <syslog.h> | #include <syslog.h> | ||||||
|  |  | ||||||
| #ifndef LINUX  | #ifndef LINUX  | ||||||
|   | |||||||
| @@ -182,7 +182,6 @@ EncodeData( | |||||||
| { | { | ||||||
|    CasaStatus  retStatus; |    CasaStatus  retStatus; | ||||||
|    int         encodedSize; |    int         encodedSize; | ||||||
|    char        *pBuffer; |  | ||||||
|  |  | ||||||
|  |  | ||||||
|    DbgTrace(3, "krb5_token -EncodeData- Start\n", 0); |    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(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; |    return pValue; | ||||||
| } | } | ||||||
| @@ -571,7 +571,6 @@ GetConfigInterface( | |||||||
|                               char        *pKey; |                               char        *pKey; | ||||||
|                               char        *pKeyEnd; |                               char        *pKeyEnd; | ||||||
|                               char        *pValue; |                               char        *pValue; | ||||||
|                               int         keyLen, valueLen; |  | ||||||
|                               ConfigKey   *pConfigKey; |                               ConfigKey   *pConfigKey; | ||||||
|  |  | ||||||
|                               // Attempt to find the key |                               // Attempt to find the key | ||||||
|   | |||||||
| @@ -31,6 +31,7 @@ | |||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <stdbool.h> | #include <stdbool.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  | #include <ctype.h> | ||||||
| #include <syslog.h> | #include <syslog.h> | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <pthread.h> | #include <pthread.h> | ||||||
|   | |||||||
| @@ -20,7 +20,7 @@ fi | |||||||
|  |  | ||||||
|  |  | ||||||
| cd $PR/auth_token/krb5_token/linux | cd $PR/auth_token/krb5_token/linux | ||||||
| (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"../..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fno-strict-aliasing " $2 $3 $4 $5) | (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"../..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall  -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5) | ||||||
| RCODE=$? | RCODE=$? | ||||||
| rm -f $COMMON_FILES | rm -f $COMMON_FILES | ||||||
| if(test $RCODE != 0) | if(test $RCODE != 0) | ||||||
|   | |||||||
| @@ -20,7 +20,7 @@ fi | |||||||
|  |  | ||||||
|  |  | ||||||
| cd $PR/auth_token/linux | cd $PR/auth_token/linux | ||||||
| (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fno-strict-aliasing " $2 $3 $4 $5) | (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5) | ||||||
| RCODE=$? | RCODE=$? | ||||||
| rm -f $COMMON_FILES | rm -f $COMMON_FILES | ||||||
| if(test $RCODE != 0) | if(test $RCODE != 0) | ||||||
|   | |||||||
| @@ -20,7 +20,7 @@ fi | |||||||
|  |  | ||||||
|  |  | ||||||
| cd $PR/auth_token/PAM | cd $PR/auth_token/PAM | ||||||
| (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fno-strict-aliasing " $2 $3 $4 $5) | (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall  -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5) | ||||||
| RCODE=$? | RCODE=$? | ||||||
| rm -f $COMMON_FILES | rm -f $COMMON_FILES | ||||||
| if(test $RCODE != 0) | if(test $RCODE != 0) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user