Mesa (master): mesa: remove unused uninitialized_var() macro
Brian Paul
brianp at kemper.freedesktop.org
Sat Feb 28 20:46:11 UTC 2015
Module: Mesa
Branch: master
Commit: cbf788a34835c9d41f27203d28f407ff469dd7aa
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbf788a34835c9d41f27203d28f407ff469dd7aa
Author: Brian Paul <brianp at vmware.com>
Date: Sat Feb 28 13:38:11 2015 -0700
mesa: remove unused uninitialized_var() macro
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/mesa/main/compiler.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index dd65d07..51d0eed 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -178,14 +178,6 @@ static inline GLuint CPU_TO_LE32(GLuint x)
#define _NORMAPIP *
#endif
-
-/*
- * A trick to suppress uninitialized variable warning without generating any
- * code
- */
-#define uninitialized_var(x) x = x
-
-
/**
* LONGSTRING macro
* gcc -pedantic warns about long string literals, LONGSTRING silences that.
More information about the mesa-commit
mailing list