[WARNING]
There are one or more control paths without a return 'value' statement. Your function does not return a value in every case.
int glob;
int test(void) {
if (glob) {
return 1;
}
}
Do return a value in all control flows.