ref: b3397e4184d9b60f48c87ed45f23535b572f3234
parent: 88bf8edddc8d52db6acb21a297e8f4088e19146a
author: Thierry Foucu <tfoucu@gmail.com>
date: Tue Sep 25 07:59:30 EDT 2018
Add Macro to make it clear the variable is intended to not be initialized
--- a/include/common/attributes.h
+++ b/include/common/attributes.h
@@ -66,6 +66,11 @@
#define NOINLINE __attribute__((noinline))
#endif /* !_MSC_VER */
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(__clang__)
+# define dav1d_uninit(x) x=x
+#else
+# define dav1d_uninit(x) x
+#endif
#ifdef _MSC_VER
#include <intrin.h>