From 40fde1807b49e11007112c49186d2afb4cb085d8 Mon Sep 17 00:00:00 2001 From: Thomas Arts Date: Wed, 13 Jun 2018 07:03:04 +0200 Subject: [PATCH] Variable is assigned but never used This is just a warning, but elliminating warnings makes the code go cleanly through clang static code analyzer. --- c_src/enacl_nif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c_src/enacl_nif.c b/c_src/enacl_nif.c index 29862c3..5b1cf58 100644 --- a/c_src/enacl_nif.c +++ b/c_src/enacl_nif.c @@ -1167,7 +1167,7 @@ void uint64_pack(unsigned char *y, ErlNifUInt64 x) *y++ = x; x >>= 8; *y++ = x; x >>= 8; *y++ = x; x >>= 8; - *y++ = x; x >>= 8; + *y++ = x; } static