Skip to content

Commit 82e776a

Browse files
committed
Added missing return statements.
1 parent ef7508e commit 82e776a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/CompilerHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,12 +687,14 @@ private function doCompile($compiler_config, &$files, $dir, $CC, $CFLAGS, $CPP,
687687
$this->compiler_logger->addInfo($compiler_config["compiler_dir"] . " - Clang reformated output: " . json_encode($final_clang_output));
688688
$final_clang_output = $this->pathRemover ($final_clang_output, $compiler_config);
689689
$resp["message"] = $final_clang_output;
690+
return $resp;
690691
}else {
691692
$this->compiler_logger->addInfo($compiler_config["compiler_dir"] . " - Gcc output: " . json_encode($avr_output));
692693
$this->compiler_logger->addInfo($compiler_config["compiler_dir"] . " - Clang initial output: " . json_encode($output));
693694
$this->compiler_logger->addInfo($compiler_config["compiler_dir"] . " - Clang reformated output: " . json_encode($next_clang_output));
694695
$next_clang_output = $this->pathRemover ($next_clang_output, $compiler_config);
695696
$resp["message"] = $next_clang_output;
697+
return $resp;
696698
}
697699
}
698700
$resp["message"] = $output;

0 commit comments

Comments
 (0)