Merge pull request #6642 from opentx/raphaelcoeffic/fix-warnings

fix clang warnings (unused variables)
This commit is contained in:
Bertrand Songis
2019-08-20 13:32:30 +02:00
committed by GitHub
14 changed files with 42 additions and 423 deletions
-33
View File
@@ -49,15 +49,9 @@
#define LEN_MMMINV "\003"
#define TR_MMMINV "---""INV"
#define LEN_NCHANNELS "\004"
#define TR_NCHANNELS "\0014CH\0016CH\0018CH10CH12CH14CH16CH"
#define LEN_VBEEPMODE "\005"
#define TR_VBEEPMODE "Mudo ""Alarm""NoKey""Todo "
#define LEN_VBEEPLEN "\005"
#define TR_VBEEPLEN "0====""=0===""==0==""===0=""====0"
#define LEN_VRENAVIG "\003"
#define TR_VRENAVIG "No REaREb"
@@ -86,9 +80,6 @@
#define LEN_SLIDERTYPES "\006"
#define TR_SLIDERTYPES "Rien\0 ""Slider"
#define LEN_DATETIME "\005"
#define TR_DATETIME "DATA:""HORA:"
#define LEN_VLCD "\006"
#define TR_VLCD "NormalOptrex"
@@ -155,9 +146,6 @@
#define TR_VPROTOS "PPM\0 " TR_PXX TR_DSM2
#define LEN_POSNEG "\003"
#define TR_POSNEG "POS""NEG"
#if defined(PCBSKY9X) && defined(REVX)
#define LEN_VOUTPUT_TYPE "\011"
#define TR_VOUTPUT_TYPE "OpenDrain""PushPull\0"
@@ -319,27 +307,6 @@
#define STR_V (STR_VTELEMUNIT+1)
#define STR_A (STR_VTELEMUNIT+4)
#define LEN_VALARM "\003"
#define TR_VALARM "---""Ama""Lar""Ver"
#define LEN_VALARMFN "\001"
#define TR_VALARMFN "<>"
#define LEN_VTELPROTO "\007"
#define TR_VTELPROTO "Nada\0 ""Hub\0 ""WSHHigh"
#define LEN_AMPSRC TR("\003", "\007")
#define TR_AMPSRC TR("---""A1\0""A2\0""A3\0""A4\0""FAS""Cel", "---\0 ""A1\0 ""A2\0 ""A3\0 ""A4\0 ""FAS\0 ""Cells\0 ")
#define LEN_VOLTSRC TR("\003", "\007")
#define TR_VOLTSRC TR("A1\0""A2\0""A3\0""A4\0""FAS""Cel", "A1\0 ""A2\0 ""A3\0 ""A4\0 ""FAS\0 ""Cells\0 ")
#define LEN_VARIOSRC "\005"
#if defined(TELEMETRY_FRSKY_SPORT)
#define TR_VARIOSRC "Vario""A1\0 ""A2\0"
#else
#define TR_VARIOSRC "Alti\0""Alti+""Vario""A1\0 ""A2\0"
#endif
#define LEN_VTELEMSCREENTYPE "\004"
#define TR_VTELEMSCREENTYPE "Nums""Bars"