block/cfq-iosched.c - control reaches end of non-void function warning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gabriel C
Date: Monday, August 6, 2007 - 1:40 pm

Hi Jens,

I just noticed this warning in one of my build logs :

...

block/cfq-iosched.c: In function 'cfq_async_queue_prio':
block/cfq-iosched.c:1430: warning: control reaches end of non-void function

...

Guessing return 0; is missing there.


Regards,

Gabriel 

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
block/cfq-iosched.c - control reaches end of non-void func ..., Gabriel C, (Mon Aug 6, 1:40 pm)