gcc warning fix fox: fko_decode.c:43:17: warning: variable ‘edata_size’ set but not used [-Wunused-but-set-variable]

This commit is contained in:
Michael Rash
2012-05-28 14:22:33 -04:00
parent 8a73e6dee8
commit fcf40b5e6d
+1 -3
View File
@@ -40,7 +40,7 @@ int
fko_decode_spa_data(fko_ctx_t ctx)
{
char *tbuf, *ndx;
int edata_size, t_size;
int t_size;
/* Check for required data.
*/
@@ -48,8 +48,6 @@ fko_decode_spa_data(fko_ctx_t ctx)
|| strlen(ctx->encoded_msg) < MIN_SPA_ENCODED_MSG_SIZE)
return(FKO_ERROR_INVALID_DATA);
edata_size = strlen(ctx->encoded_msg);
/* Move the Digest to its place in the context.
*/
ndx = strrchr(ctx->encoded_msg, ':'); /* Find the last : in the data */