From d1d41216825c0ac8ece71768145834eb22379248 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 27 Feb 2006 15:45:38 +0000 Subject: silence a bunch of warnings --- src/mesa/shader/slang/slang_compile_function.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/shader/slang/slang_compile_function.c') 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; -- cgit v1.2.3