mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
fix(clang): remove an error reported by clang
This commit is contained in:
@@ -368,12 +368,12 @@ CompilerEngine::Library::addCompilation(CompilationResult &compilation) {
|
||||
auto objectPath = sourceName + OBJECT_EXT;
|
||||
auto error = mlir::zamalang::emitObject(*module, objectPath);
|
||||
|
||||
if (!error) {
|
||||
addExtraObjectFilePath(objectPath);
|
||||
return objectPath;
|
||||
if (error) {
|
||||
return std::move(error);
|
||||
}
|
||||
|
||||
return error;
|
||||
addExtraObjectFilePath(objectPath);
|
||||
return objectPath;
|
||||
}
|
||||
|
||||
bool stringEndsWith(std::string path, std::string requiredExt) {
|
||||
|
||||
Reference in New Issue
Block a user