summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_variable_refcount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir_variable_refcount.h')
-rw-r--r--src/glsl/ir_variable_refcount.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/glsl/ir_variable_refcount.h b/src/glsl/ir_variable_refcount.h
index 059ea097a62..8b43bad71f8 100644
--- a/src/glsl/ir_variable_refcount.h
+++ b/src/glsl/ir_variable_refcount.h
@@ -36,14 +36,7 @@
class variable_entry : public exec_node
{
public:
- variable_entry(ir_variable *var)
- {
- this->var = var;
- assign = NULL;
- referenced_count = 0;
- assigned_count = 0;
- declaration = false;
- }
+ variable_entry(ir_variable *var);
ir_variable *var; /* The key: the variable's pointer. */
ir_assignment *assign; /* An assignment to the variable, if any */