I created a function
static int init_module(void)
{
}
Then ran CppCheck. It doesn't complain that there's no return statement, and it'd be reasonable if it complained.
Why?
I created a function
static int init_module(void)
{
}
Then ran CppCheck. It doesn't complain that there's no return statement, and it'd be reasonable if it complained.
Why?
– Generic Ratzlaugh Jul 28 '16 at 15:38