changeset 583:3860b8fa4b29

Solved minor warnings
author Ideenmodellierer
date Sat, 12 Dec 2020 20:54:31 +0100
parents 64bf41faab83
children 830de438e0b0
files Discovery/Src/gfx_engine.c Discovery/Src/show_logbook.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/gfx_engine.c	Sat Dec 12 20:52:58 2020 +0100
+++ b/Discovery/Src/gfx_engine.c	Sat Dec 12 20:54:31 2020 +0100
@@ -3082,7 +3082,7 @@
 	char cText[101];
 	uint32_t result;
 	uint32_t Xsum;
-	uint32_t i, j;
+	uint32_t j;
 	uint8_t gfx_selected_language;
 	uint32_t pText;
 	uint16_t decodeUTF8;
@@ -3171,11 +3171,10 @@
 	char cText[101];
 	uint32_t result;
 	uint32_t Xsum;
-	uint32_t i, j;
+	uint32_t j;
 	tFont *font;
 	uint8_t gfx_selected_language;
 	uint32_t pText;
-	uint8_t setToTinyFont = 0;
 	uint16_t decodeUTF8;
 	uint8_t tinyState = 0;		/* used to identify the usage of tiny font */
 
@@ -3193,7 +3192,6 @@
 
 // -----------------------------
 
-	setToTinyFont = 0;
 	font = (tFont *)cfg->font;
 	Xsum = 0;
 	j = 0;
--- a/Discovery/Src/show_logbook.c	Sat Dec 12 20:52:58 2020 +0100
+++ b/Discovery/Src/show_logbook.c	Sat Dec 12 20:54:31 2020 +0100
@@ -474,7 +474,6 @@
     }
 
     //Print time
-    uint8_t hour = logbookHeader.timeHour;
     uint8_t minute = logbookHeader.timeMinute;
 
     if (settingsGetPointer()->amPMTime)