[Mesa-dev] [PATCH] glsl: Remove unused field loop_variable_state::loop.

Paul Berry stereotype441 at gmail.com
Wed Nov 27 10:59:17 PST 2013


This field was neither initialized nor used.  It was just dead memory.
---
 src/glsl/loop_analysis.h | 5 -----
 1 file changed, 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;
-- 
1.8.4.2



More information about the mesa-dev mailing list