mirror of https://github.com/sfeakes/AqualinkD.git
Merge pull request #174 from ballle98/dev/bullseye_warnings
ballle98/AqualinkD#58: compiler warnings seen after bullseye updatepull/69/merge
commit
1e1e825829
|
@ -112,7 +112,7 @@ setPanel("RS-8 Combo");
|
||||||
char _panelString[60];
|
char _panelString[60];
|
||||||
void setPanelString()
|
void setPanelString()
|
||||||
{
|
{
|
||||||
sprintf(_panelString, "%s%s-%d %s%s%s",
|
snprintf(_panelString, sizeof(_panelString), "%s%s-%d %s%s%s",
|
||||||
isRS_PANEL?"RS":"",
|
isRS_PANEL?"RS":"",
|
||||||
isPDA_PANEL?"PDA":"", // No need for both of these, but for error validation leave it in.
|
isPDA_PANEL?"PDA":"", // No need for both of these, but for error validation leave it in.
|
||||||
PANEL_SIZE(),
|
PANEL_SIZE(),
|
||||||
|
|
|
@ -2215,7 +2215,7 @@ void send_cmd(unsigned char cmd)
|
||||||
void force_queue_delete()
|
void force_queue_delete()
|
||||||
{
|
{
|
||||||
if (_pgm_command != NUL)
|
if (_pgm_command != NUL)
|
||||||
LOG(PROG_LOG, LOG_INFO, "Reall bad coding, don't use this in release\n");
|
LOG(PROG_LOG, LOG_INFO, "Really bad coding, don't use this in release\n");
|
||||||
|
|
||||||
_pgm_command = NUL;
|
_pgm_command = NUL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue