From 86b186fafd7f98d3338710188b325a871d808ca2 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 15 Nov 2019 14:03:05 +0100 Subject: [PATCH] Warning removed --- radio/src/strhelpers.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/radio/src/strhelpers.cpp b/radio/src/strhelpers.cpp index 8dc14d4ba..07e6b4e8b 100644 --- a/radio/src/strhelpers.cpp +++ b/radio/src/strhelpers.cpp @@ -454,7 +454,6 @@ char * strAppendUnsigned(char * dest, uint32_t value, uint8_t digits, uint8_t ra uint8_t idx = digits; while (idx > 0) { div_t qr = div(value, radix); - uint32_t rem = value % radix; dest[--idx] = (qr.rem >= 10 ? 'A' - 10 : '0') + qr.rem; value = qr.quot; } -- 2.11.4.GIT