Bugfix/code clean using gcc warnings (#371)
* Enable extra GCC warnings to discover subtle bugs * convert c++ comments to c comments * cleanup pedantic compiler warnings * Compile apps with GNU89 GNU99 GNU11 and GNU17 Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -1228,7 +1228,12 @@ static void Lighting_Output_Ramp_Handler(struct lighting_output_object *pLight,
|
||||
BACNET_LIGHTING_COMMAND *pCommand,
|
||||
uint16_t milliseconds)
|
||||
{
|
||||
if (pLight && pCommand) { }
|
||||
if (pLight && pCommand) {
|
||||
/* FIXME: add ramp functionality */
|
||||
(void)pLight;
|
||||
(void)pCommand;
|
||||
(void)milliseconds;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1243,7 +1248,12 @@ static void Lighting_Output_Fade_Handler(struct lighting_output_object *pLight,
|
||||
BACNET_LIGHTING_COMMAND *pCommand,
|
||||
uint16_t milliseconds)
|
||||
{
|
||||
if (pLight && pCommand) { }
|
||||
if (pLight && pCommand) {
|
||||
/* FIXME: add fade functionality */
|
||||
(void)pLight;
|
||||
(void)pCommand;
|
||||
(void)milliseconds;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user