Hi

What is it a right way to fix these warnings?

smth function()
{
        switch (var) {
        case one:
                return 1;
        default:
                BUG();
        }
}

warning: control reaches end of non-void function

Thanks! 
        

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to