You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2020/09/11 06:25:42 UTC
[incubator-nuttx] branch master updated: drivers: wireless: Fix
warnings in gs2200m.c
This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 58317b1 drivers: wireless: Fix warnings in gs2200m.c
58317b1 is described below
commit 58317b1430b6bb9e8cc8e2ebf74998d04c970acd
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Fri Sep 11 13:55:27 2020 +0900
drivers: wireless: Fix warnings in gs2200m.c
Summary:
- This commit fixes warnings when we remove noreturn from _assert()
Impact:
- Should have no impact
Testing:
- Tested with spresense:wifi
Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
drivers/wireless/gs2200m.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/wireless/gs2200m.c b/drivers/wireless/gs2200m.c
index fe61d68..e07eca4 100644
--- a/drivers/wireless/gs2200m.c
+++ b/drivers/wireless/gs2200m.c
@@ -280,6 +280,7 @@ static enum pkt_type_e _spi_err_to_pkt_type(enum spi_status_e s)
break;
default:
+ r = TYPE_UNMATCH;
ASSERT(false);
}
@@ -304,6 +305,7 @@ static uint8_t _cid_to_uint8(char c)
}
else
{
+ ret = 0xff;
ASSERT(false);
}