From 35186c40540c10b10a13a32cbdeacb991d409f13 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 14:22:48 +0200 Subject: [PATCH] Fix clang warning: unused variable 'res' /libretroshare/src/crypto/chacha20.cpp:978: warning: unused variable 'res' [-Wunused-variable] uint256_32 res(q1) ; --- libretroshare/src/crypto/chacha20.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/crypto/chacha20.cpp b/libretroshare/src/crypto/chacha20.cpp index e56f40af4..1240d0cb8 100644 --- a/libretroshare/src/crypto/chacha20.cpp +++ b/libretroshare/src/crypto/chacha20.cpp @@ -975,7 +975,7 @@ bool perform_tests() fprintf(stdout,"result: q=") ; uint256_32::print(q1) ; fprintf(stdout," r=") ; uint256_32::print(r1) ; fprintf(stdout,"\n") ; #endif - uint256_32 res(q1) ; + //uint256_32 res(q1) ; q1 *= p1 ; q1 += r1 ;