]> git.sesse.net Git - movit/blobdiff - util.h
Fix a typo in a comment.
[movit] / util.h
diff --git a/util.h b/util.h
index e12c2c422e114f72c5e2739af2a94a8fec575688..79b5987ae05a329691ba73f546390c7a0f364c11 100644 (file)
--- a/util.h
+++ b/util.h
@@ -47,12 +47,6 @@ void combine_two_samples(float w1, float w2, float *offset, float *total_weight,
 #define check_error() { int err = glGetError(); if (err != GL_NO_ERROR) { printf("GL error 0x%x at %s:%d\n", err, __FILE__, __LINE__); exit(1); } }
 #endif
 
-#ifdef __GNUC__
-#define MUST_CHECK_RESULT __attribute__((warn_unused_result))
-#else
-#define MUST_CHECK_RESULT 
-#endif
-
 // CHECK() is like assert(), but retains any side effects no matter the compilation mode.
 #ifdef NDEBUG
 #define CHECK(x) (void)(x)