aboutsummaryrefslogtreecommitdiff
path: root/tools/cmake2meson.py
diff options
context:
space:
mode:
authorMike Sinkovsky <msink@permonline.ru>2017-01-18 16:09:09 +0500
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-18 21:22:47 +0200
commitdac8351ff1b749203d094a9acf049621ce4f5e61 (patch)
tree806d85d6e6a7c0ac067b44c47de42b9bd8d0d6e6 /tools/cmake2meson.py
parentc9423cc3a80a713d647b7d73797101a288d7848f (diff)
downloadmeson-dac8351ff1b749203d094a9acf049621ce4f5e61.zip
meson-dac8351ff1b749203d094a9acf049621ce4f5e61.tar.gz
meson-dac8351ff1b749203d094a9acf049621ce4f5e61.tar.bz2
cleanup: Unbound local variable
Diffstat (limited to 'tools/cmake2meson.py')
-rwxr-xr-xtools/cmake2meson.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cmake2meson.py b/tools/cmake2meson.py
index 80bcaa4..eae6344 100755
--- a/tools/cmake2meson.py
+++ b/tools/cmake2meson.py
@@ -278,6 +278,7 @@ class Converter:
for o in self.options:
(optname, description, default) = o
if default is None:
+ typestr = ''
defaultstr = ''
else:
if default == 'OFF':