Osgeld:
im C-tarded but I am pretty sure if you dont return it just returns null or zero (neither is == to 1)
If the function is declared with a return type and the implementation does not explicitly return an expression that can be converted to that type, I'd expect that to cause a compilation error.