diff options
Diffstat (limited to 'dev/LibCompiler/src/DynamicLinkerPEF.cc')
| -rw-r--r-- | dev/LibCompiler/src/DynamicLinkerPEF.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/LibCompiler/src/DynamicLinkerPEF.cc b/dev/LibCompiler/src/DynamicLinkerPEF.cc index 084e94f..4a7bb49 100644 --- a/dev/LibCompiler/src/DynamicLinkerPEF.cc +++ b/dev/LibCompiler/src/DynamicLinkerPEF.cc @@ -58,7 +58,7 @@ namespace Detail { struct DynamicLinkerBlob final { - std::vector<CharType> mBlob{}; // PEF code/bss/data blob. + std::vector<CharType> mBlob{}; // PEF code/bss/data blob. UIntPtr mOffset{0UL}; // the offset of the PEF container header... }; } // namespace Detail @@ -218,9 +218,7 @@ LIBCOMPILER_MODULE(DynamicLinker64PEF) kStdOut << "no output filename set." << std::endl; return LIBCOMPILER_EXEC_ERROR; } - - // sanity check. - if (kObjectList.empty()) + else if (kObjectList.empty()) { kStdOut << "no input files." << std::endl; return LIBCOMPILER_EXEC_ERROR; |
