removed: unused message generation from lld-c

This commit is contained in:
Sven Vogel 2024-07-02 16:26:12 +02:00
parent 799e6545ea
commit 501fa5abbb
1 changed files with 0 additions and 15 deletions

View File

@ -140,21 +140,6 @@ BackendError lld_link_target(TargetLinkConfig* config) {
g_array_free(argv, TRUE); g_array_free(argv, TRUE);
if (message != NULL) {
if (strcmp("", message) != 0) {
print_message(Error, "%s", message);
}
free((void*) message);
}
if (status) {
err = new_backend_impl_error(Implementation, NULL, "failed to link target");
print_message(Error, "Linker exited with: %d", status);
} else {
print_message(Info, "Successfully linked target to: %s", config->output_file);
}
return err; return err;
} }