Re: widl: fix a compiler error
19 Jan
2009
19 Jan
'09
11:01 p.m.
2009/1/19 Austin English <austinenglish(a)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
6174
Age (days ago)
6174
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rob Shearman