Mesa (master): glsl: Remove unused field loop_variable_state::loop.

Paul Berry stereotype441 at kemper.freedesktop.org
Sat Nov 30 06:12:45 UTC 2013


Module: Mesa
Branch: master
Commit: 26498e0f0c198ac912b176cf9a14768ad2c0244c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26498e0f0c198ac912b176cf9a14768ad2c0244c

Author: Paul Berry <stereotype441 at gmail.com>
Date:   Wed Nov 27 10:53:33 2013 -0800

glsl: Remove unused field loop_variable_state::loop.

This field was neither initialized nor used.  It was just dead memory.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/glsl/loop_analysis.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/glsl/loop_analysis.h b/src/glsl/loop_analysis.h
index 769d626..98414b3 100644
--- a/src/glsl/loop_analysis.h
+++ b/src/glsl/loop_analysis.h
@@ -71,11 +71,6 @@ public:
 
 
    /**
-    * Loop whose variable state is being tracked by this structure
-    */
-   ir_loop *loop;
-
-   /**
     * Variables that have not yet been classified
     */
    exec_list variables;




More information about the mesa-commit mailing list