mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-22 08:52:50 -04:00
builder/module: Drop some unreachable code
use_builddir is TRUE if meson is TRUE, so there can never be a meson case in the !use_builddir case. Coverity issue: 1452428 Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -1461,13 +1461,9 @@ builder_module_build (BuilderModule *self,
|
||||
configure_cmd = "cmake";
|
||||
configure_final_arg = g_strdup (".");
|
||||
}
|
||||
else if (meson)
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "module %s: Meson does not support building in sourcedir, set \"builddir\" to true.", self->name);
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
g_assert (!meson);
|
||||
configure_cmd = "./configure";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user