diff options
author | Paul Berry <[email protected]> | 2013-07-27 15:37:15 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-07-30 10:10:27 -0700 |
commit | 1299694ed5e3c2f51c076b020a9ad2fef2e1d059 (patch) | |
tree | 789d570c372cab8bf0804a52c45e55a91a971c7e /src/glsl | |
parent | 5fe6b90c87c055fdfe24eb8b2075e6725ad59ecd (diff) |
glsl: Remove redundant writes to prog->LinkStatus
The linker_error() function sets prog->LinkStatus to false. There's
no reason for the caller of linker_error() to also do so.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ir_function_detect_recursion.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ir_function_detect_recursion.cpp b/src/glsl/ir_function_detect_recursion.cpp index 5df3ac51883..280c4734ad2 100644 --- a/src/glsl/ir_function_detect_recursion.cpp +++ b/src/glsl/ir_function_detect_recursion.cpp @@ -319,7 +319,6 @@ emit_errors_linked(const void *key, void *data, void *closure) linker_error(prog, "function `%s' has static recursion.\n", proto); ralloc_free(proto); - prog->LinkStatus = false; } |