diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-09-12 12:55:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 12:55:53 +0200 |
commit | aabbd00284640a4789f96702c134ea40b11b402e (patch) | |
tree | 8363659a6551644b0d89401681e2909d5451a119 /methods.py | |
parent | c5e0e31f5106d7d91dc478af1f86740c74cea824 (diff) | |
parent | b2a38854fdde296fd2d7da139a29b23a18ab494d (diff) |
Merge pull request #10908 from hpvb/fix-unused-variables
Fix unused variable warnings
Diffstat (limited to 'methods.py')
-rw-r--r-- | methods.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/methods.py b/methods.py index ec7e658a3b..2ab76a5416 100644 --- a/methods.py +++ b/methods.py @@ -1026,9 +1026,6 @@ def build_legacygl_header(filename, include, class_suffix, output_attribs): fd.write("\t\t\t{" + x["set_mask"] + "," + x["clear_mask"] + "},\n") fd.write("\t\t};\n\n") - else: - fd.write("\t\tstatic const Enum *_enums=NULL;\n") - fd.write("\t\tstatic const EnumValue *_enum_values=NULL;\n") conditionals_found = [] if (len(header_data.conditionals)): |