aboutsummaryrefslogtreecommitdiff
path: root/src/PkgConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PkgConfig.cpp')
-rw-r--r--src/PkgConfig.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/PkgConfig.cpp b/src/PkgConfig.cpp
index 5f85549..620b1a7 100644
--- a/src/PkgConfig.cpp
+++ b/src/PkgConfig.cpp
@@ -25,9 +25,7 @@ namespace sibs
command += "'";
Result<ExecResult> execResult = exec(command.c_str());
if(execResult.isErr())
- {
return Result<bool>::Err(execResult.getErrMsg());
- }
if(execResult.unwrap().exitCode == 1)
{
@@ -63,9 +61,7 @@ namespace sibs
command += "'";
Result<ExecResult> execResult = exec(command.c_str());
if(execResult.isErr())
- {
return Result<bool>::Err(execResult.getErrMsg());
- }
if(execResult.unwrap().exitCode == 1)
{