diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-09-11 11:39:15 +0100 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-09-11 11:39:15 +0100 |
commit | 3070d0b7351d480ec201d4f488938744f68e56dd (patch) | |
tree | 3b23ee01bca5b52bb314b145ca4f27935e0ac97c /glsl_builders.py | |
parent | 9d9ee2d4c25b1b24cd1cc7a0c63ffcb8453b32fd (diff) |
Remove unused Python local variables.
Diffstat (limited to 'glsl_builders.py')
-rw-r--r-- | glsl_builders.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/glsl_builders.py b/glsl_builders.py index e1a6e41bea..29971fd4e7 100644 --- a/glsl_builders.py +++ b/glsl_builders.py @@ -96,8 +96,6 @@ def build_rd_header(filename): out_file = filename + ".gen.h" fd = open(out_file, "w") - enum_constants = [] - fd.write("/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */\n") out_file_base = out_file @@ -165,7 +163,6 @@ class RAWHeaderStruct: def include_file_in_raw_header(filename, header_data, depth): fs = open(filename, "r") line = fs.readline() - text = "" while line: @@ -192,8 +189,6 @@ def build_raw_header(filename): out_file = filename + ".gen.h" fd = open(out_file, "w") - enum_constants = [] - fd.write("/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */\n") out_file_base = out_file.replace(".glsl.gen.h", "_shader_glsl") |