aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorMike Sinkovsky <msink@permonline.ru>2017-01-03 14:43:02 +0500
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-03 13:34:39 -0500
commit079e43f70b639c2c4d9ef345bfa916999f3c0508 (patch)
tree480c3c9c6c259c0f430a05cd1d2cc7e5f8d60fe3 /mesonbuild/compilers.py
parentc025c71ae282cfe33e9fe5d8042e5b511808f2de (diff)
downloadmeson-079e43f70b639c2c4d9ef345bfa916999f3c0508.zip
meson-079e43f70b639c2c4d9ef345bfa916999f3c0508.tar.gz
meson-079e43f70b639c2c4d9ef345bfa916999f3c0508.tar.bz2
fix 'unreachable code' warnings
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 6b90f24..0481ab2 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -2072,7 +2072,6 @@ def get_gcc_soname_args(gcc_type, prefix, shlib_name, suffix, path, soversion, i
if gcc_type == GCC_STANDARD or gcc_type == GCC_MINGW:
# Might not be correct for mingw but seems to work.
return ['-Wl,-soname,%s%s.%s%s' % (prefix, shlib_name, suffix, sostr)]
- return ['-Wl,-soname,%s%s' % (shlib_name, sostr)]
elif gcc_type == GCC_OSX:
if is_shared_module:
return []