From 42412fcc17a4cc8e48b450a0d12a32439245a284 Mon Sep 17 00:00:00 2001 From: Wouter Date: Mon, 11 Mar 2024 11:25:14 +0000 Subject: [PATCH] fix warning --- knx_iot_virtual_pb.c | 3 ++- knx_iot_virtual_sa.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/knx_iot_virtual_pb.c b/knx_iot_virtual_pb.c index 541c2c1..ad68356 100644 --- a/knx_iot_virtual_pb.c +++ b/knx_iot_virtual_pb.c @@ -247,7 +247,8 @@ bool app_retrieve_bool_variable(char* url) } if ( strcmp(url, URL_INFOONOFF_4) == 0) { return g_InfoOnOff_4; /**< global variable for InfoOnOff_4 */ - } + } + return false; } // FAULT code diff --git a/knx_iot_virtual_sa.c b/knx_iot_virtual_sa.c index 6638023..b0b2463 100644 --- a/knx_iot_virtual_sa.c +++ b/knx_iot_virtual_sa.c @@ -247,7 +247,9 @@ bool app_retrieve_bool_variable(char* url) } if ( strcmp(url, URL_INFOONOFF_4) == 0) { return g_InfoOnOff_4; /**< global variable for InfoOnOff_4 */ - } + } + + return false; } // FAULT code