Skip to content
Browse files

gcc warning fix fox: fko_decode.c:43:17: warning: variable ‘edata_siz…

…e’ set but not used [-Wunused-but-set-variable]
  • Loading branch information...
1 parent 8a73e6d commit fcf40b5e6d18edf6f8d6e3cd7b526be1947c4a76 @mrash committed May 28, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/fko_decode.c
View
4 lib/fko_decode.c
@@ -40,16 +40,14 @@ int
fko_decode_spa_data(fko_ctx_t ctx)
{
char *tbuf, *ndx;
- int edata_size, t_size;
+ int t_size;
/* Check for required data.
*/
if(ctx->encoded_msg == NULL
|| 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 */

0 comments on commit fcf40b5

Please sign in to comment.
Something went wrong with that request. Please try again.