How to solve "control reaches end of non-void function "warning? : I have been getting a compiler error( control reaches end of non-void function)    

    extern RC_Code_t osa_odm_init (void)
          {
          if ( odmInitFlag == BOOL_FALSE )
            {
             ........
             .........
              return (RC_OK);
            }
          }

 I specified the return value of the function as void but i am getting error.How to fix this?
