Module: libav Branch: master Commit: 34138ece23c8ddae543269212a051c00d49e67d7
Author: Luca Barbato <[email protected]> Committer: Luca Barbato <[email protected]> Date: Sat Dec 5 13:45:01 2015 +0100 log: Use a do {} while (0) for tlog Avoid the warning `-Wempty-body`. --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 7f12344..3c1583d 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -63,7 +63,7 @@ #ifdef TRACE # define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__) #else -# define ff_tlog(ctx, ...) while(0) +# define ff_tlog(ctx, ...) do { } while (0) #endif _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
