summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile_function.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-02-27 15:45:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-02-27 15:45:38 +0000
commitd1d41216825c0ac8ece71768145834eb22379248 (patch)
tree11da938ab3dc9872cd8dee83262e23fb15e013d1 /src/mesa/shader/slang/slang_compile_function.c
parent9ac9605de156408580b81ba7e2780bd3f5372c6d (diff)
silence a bunch of warnings
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_function.c')
-rw-r--r--src/mesa/shader/slang/slang_compile_function.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.c b/src/mesa/shader/slang/slang_compile_function.c
index 50828d0b07..60d9e3360b 100644
--- a/src/mesa/shader/slang/slang_compile_function.c
+++ b/src/mesa/shader/slang/slang_compile_function.c
@@ -150,16 +150,16 @@ slang_function *slang_function_scope_find (slang_function_scope *funcs, slang_fu
GLboolean _slang_build_export_code_table (slang_export_code_table *tbl, slang_function_scope *funs,
slang_translation_unit *unit)
{
- slang_atom main;
+ slang_atom mainAtom;
GLuint i;
- main = slang_atom_pool_atom (tbl->atoms, "main");
- if (main == SLANG_ATOM_NULL)
+ mainAtom = slang_atom_pool_atom (tbl->atoms, "main");
+ if (mainAtom == SLANG_ATOM_NULL)
return GL_FALSE;
for (i = 0; i < funs->num_functions; i++)
{
- if (funs->functions[i].header.a_name == main)
+ if (funs->functions[i].header.a_name == mainAtom)
{
slang_function *fun = &funs->functions[i];
slang_export_code_entry *e;