wscript: drop unused local VERSION variables

pyflakes correctly points out problems like:
  gtk2_ardour/wscript:537:5 local variable 'VERSION' is assigned to but never used
This commit is contained in:
Mads Kiilerich 2022-01-24 22:15:49 +01:00 committed by Paul Davis
parent 2e367de4f0
commit aa3f6e3a5c
5 changed files with 0 additions and 9 deletions

View File

@ -548,8 +548,6 @@ def build_color_scheme(path, prefix):
return color_scheme
def build(bld):
VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR'])
I18N_PACKAGE = 'gtk2_ardour' + bld.env['MAJOR']
# Tool to dump lua-bindings (of gtk2ardour + libs)

View File

@ -19,9 +19,6 @@ def configure(conf):
conf.load('misc')
def build(bld):
VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR'])
# just the normal executable version of the GTK GUI
obj = bld (features = 'cxx c cxxprogram')
# this program does not do the whole hidden symbols thing

View File

@ -21,8 +21,6 @@ def configure(conf):
conf.check(compiler='cxx', lib='gdi32', mandatory=True, uselib_store='GDI32')
def build(bld):
VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR'])
if bld.is_defined('VST3_SUPPORT'):
obj = bld (features = 'cxx c cxxprogram')
obj.source = 'vst3-scanner.cc'

View File

@ -20,7 +20,6 @@ def configure(conf):
mandatory=False)
def build(bld):
VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR'])
if not bld.is_defined('HAVE_READLINE'):
return

View File

@ -67,7 +67,6 @@ def build_ardour_util(bld, util):
obj.linkflags = ' -lintl'
def build(bld):
VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR'])
# session-utils depend on the dummy backend
if not "dummy" in bld.env['BACKENDS']:
return