From fcf40b5e6d18edf6f8d6e3cd7b526be1947c4a76 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Mon, 28 May 2012 14:22:33 -0400 Subject: [PATCH] =?utf8?q?gcc=20warning=20fix=20fox:=20fko=5Fdecode.c:43:17:?= =?utf8?q?=20warning:=20variable=20=E2=80=98edata=5Fsize=E2=80=99=20set=20bu?= =?utf8?q?t=20not=20used=20[-Wunused-but-set-variable]?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/fko_decode.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/lib/fko_decode.c b/lib/fko_decode.c index f73b664..08a52c4 100644 --- a/lib/fko_decode.c +++ b/lib/fko_decode.c @@ -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 */ -- 1.7.5.4