aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-28 13:38:11 -0700
committerBrian Paul <[email protected]>2015-02-28 13:39:57 -0700
commitcbf788a34835c9d41f27203d28f407ff469dd7aa (patch)
treebbead486de8925b885895624a5aaebb5049ef9d5 /src/mesa/main
parente71a7f8013e540281d17a0aa1aaa3a3051592ac8 (diff)
mesa: remove unused uninitialized_var() macro
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/compiler.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index dd65d079967..51d0eedcb5e 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.