Fixed *Value stored is never read* warning found by clang.
authorFranck Joncourt <franck@debian.org>
Tue, 27 Aug 2013 18:45:17 +0000 (20:45 +0200)
committerFranck Joncourt <franck@debian.org>
Tue, 27 Aug 2013 18:45:17 +0000 (20:45 +0200)
lib/fko_util.c

index 40b45c2..f70b369 100644 (file)
@@ -621,7 +621,7 @@ dump_ctx_to_buffer(fko_ctx_t ctx, char *dump_buf, size_t dump_buf_len)
         cp += append_msg_to_buf(dump_buf+cp, dump_buf_len-cp, "   Encoded Data: %s\n", enc_data == NULL ? NULL_STRING : enc_data);
         cp += append_msg_to_buf(dump_buf+cp, dump_buf_len-cp, "SPA Data Digest: %s\n", spa_digest == NULL ? NULL_STRING : spa_digest);
         cp += append_msg_to_buf(dump_buf+cp, dump_buf_len-cp, "           HMAC: %s\n", hmac_data == NULL ? NULL_STRING : hmac_data);
-        cp += append_msg_to_buf(dump_buf+cp, dump_buf_len-cp, " Final SPA Data: %s\n", spa_data);
+        append_msg_to_buf(dump_buf+cp, dump_buf_len-cp, " Final SPA Data: %s\n", spa_data);
 
         err = FKO_SUCCESS;
     }