projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e71a7f8
)
mesa: remove unused uninitialized_var() macro
author
Brian Paul
<brianp@vmware.com>
Sat, 28 Feb 2015 20:38:11 +0000
(13:38 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 28 Feb 2015 20:39:57 +0000
(13:39 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/compiler.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/compiler.h
b/src/mesa/main/compiler.h
index dd65d079967006ed285b40ba6c9af87c9793e8c4..51d0eedcb5eb6ebc386e7f52a998e6ff6cc0d599 100644
(file)
--- 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.