diff options
author | Brian Paul <[email protected]> | 2009-03-10 17:09:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-03-10 18:25:38 -0600 |
commit | 0522624c834fc6d4a8803cc469af9dc6f3d4ee14 (patch) | |
tree | 60bccd558c7f64b920145c95eee3e248e9461c58 /src/mesa | |
parent | 3c1ce2d64919e0fb9b28f0697addb87708f4f6ed (diff) |
glsl: remove stray/unneeded totalSize assignment
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index d8246ae75f8..8663054a9de 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -3014,7 +3014,7 @@ _slang_gen_var_decl(slang_assemble_ctx *A, slang_variable *var, file = PROGRAM_TEMPORARY; } - totalSize = size = _slang_sizeof_type_specifier(&var->type.specifier); + size = _slang_sizeof_type_specifier(&var->type.specifier); if (size <= 0) { slang_info_log_error(A->log, "invalid declaration for '%s'", varName); return NULL; |