Bug 1226188 - Use __VA_ARGS__ to avoid warnings with empty argument list. r=h4writer

This commit is contained in:
Nicolas B. Pierron 2015-11-24 16:41:16 +00:00
parent 864f7e93da
commit c348391acf

View File

@ -151,8 +151,8 @@
# define DEFINED_ON_RESULT_define
# define DEFINED_ON_RESULT_ = delete
# define DEFINED_ON_DISPATCH_RESULT(Result) \
DEFINED_ON_RESULT_ ## Result
# define DEFINED_ON_DISPATCH_RESULT(...) \
DEFINED_ON_RESULT_ ## __VA_ARGS__
// We need to let the evaluation of MOZ_FOR_EACH terminates.
# define DEFINED_ON_EXPAND_ARCH_RESULTS_3(ParenResult) \