PR-108136 Add return statement to mc-boot-ch/RTco.cc pge-boot/GRTco.cc
authorGaius Mulley <gaiusmod2@gmail.com>
Fri, 13 Jan 2023 16:29:21 +0000 (16:29 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Fri, 13 Jan 2023 16:29:21 +0000 (16:29 +0000)
commit2356557148193f729b12a6e63b086fd5068e9623
tree1c7c710b8ff412769f0f09269306c97f2146559e
parent798a0d05b27279f8b1656c2e9549081e4af0afe4
PR-108136 Add return statement to mc-boot-ch/RTco.cc pge-boot/GRTco.cc

Clang found an exit path from function with non-void return type
that has missing return statement [missingReturn].

gcc/m2/ChangeLog:

* mc-boot-ch/GRTco.c (RTco_select): Add return 0.
* pge-boot/GRTco.c (RTco_select): Add return 0.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/mc-boot-ch/GRTco.c
gcc/m2/pge-boot/GRTco.c