Skip to content

Conversation

@FRASTM
Copy link
Contributor

@FRASTM FRASTM commented Apr 17, 2023

Return 0 on samples/boards/stm32/backup_sram/src/main.c to match the int type.

Regression due to commit 0b90fd5 (PR #54628)
causing compilation warning

./samples/boards/stm32/backup_sram/src/main.c: In function 'main':
./boards/stm32/backup_sram/src/main.c:24:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
   24 |                 return;
      |                 ^~~~~~
./samples/boards/stm32/backup_sram/src/main.c:18:5: note: declared here
   18 | int main(void)
      |     ^~~~

Signed-off-by: Francois Ramu francois.ramu@st.com

Return 0 on samples/boards/stm32/backup_sram/src/main.c
to match the int type.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
@FRASTM FRASTM requested a review from nashif as a code owner April 17, 2023 14:56
@zephyrbot zephyrbot added the platform: STM32 ST Micro STM32 label Apr 17, 2023
@FRASTM FRASTM requested review from keith-packard and removed request for ABOSTM, GeorgeCGV, erwango and gautierg-st April 17, 2023 14:56
@FRASTM FRASTM added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Apr 17, 2023
@FRASTM FRASTM requested review from erwango and gautierg-st April 17, 2023 14:57
Copy link
Member

@stephanosio stephanosio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was already fixed in #56927

@FRASTM
Copy link
Contributor Author

FRASTM commented Apr 17, 2023

closing as fixed already

@FRASTM FRASTM closed this Apr 17, 2023
@FRASTM FRASTM deleted the main_int branch April 17, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: STM32 ST Micro STM32 Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants