widl: fix a compiler error
Rob Shearman
robertshearman at gmail.com
Mon Jan 19 17:01:08 CST 2009
2009/1/19 Austin English <austinenglish at gmail.com>:
> diff --git a/tools/widl/widltypes.h b/tools/widl/widltypes.h
> index e6b0369..0851d2b 100644
> --- a/tools/widl/widltypes.h
> +++ b/tools/widl/widltypes.h
> @@ -539,6 +539,7 @@ static inline enum type_type type_get_type_detect_alias(const type_t *type)
> default:
> assert(0);
> }
> + return 0;
> }
>
> #define STATEMENTS_FOR_EACH_FUNC(stmt, stmts) \
Please put the return statement in the default case.
--
Rob Shearman
More information about the wine-devel
mailing list