Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 8fca21e

Browse files
committed
fix: warnings raised since gcc update
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 2347acd commit 8fca21e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/i_nucleo_lrwan1_wm_sg_sm_xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ static ATEerror_t at_cmd_receive_async_event_downlink_data(void *pdata)
578578
int8_t i = 0;
579579
int8_t charnumber = 0;
580580
char *ptrChr;
581-
ATEerror_t RetCode;
581+
ATEerror_t RetCode = AT_OK;
582582
/* Discriminate the Get return code from return value */
583583
uint8_t NoReturnCode =1;
584584
int8_t DlinkData_Complete = (0x1U);

src/tiny_vsnprintf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ int tiny_vsnprintf_like(char *buf, const int size, const char *fmt, va_list args
681681

682682
case 'X':
683683
flags |= UPPERCASE;
684+
__attribute__ ((fallthrough));
684685

685686
case 'x':
686687
base = 16;

0 commit comments

Comments
 (0)