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:
+1
-3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user