aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ldmisc.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/ld/ldmisc.c b/ld/ldmisc.c
index 9cf64a9..8c42a1b 100644
--- a/ld/ldmisc.c
+++ b/ld/ldmisc.c
@@ -477,14 +477,11 @@ info_assert (const char *file, unsigned int line)
void
minfo (const char *fmt, ...)
{
- if (config.map_file != NULL)
- {
- va_list arg;
+ va_list arg;
- va_start (arg, fmt);
- vfinfo (config.map_file, fmt, arg, FALSE);
- va_end (arg);
- }
+ va_start (arg, fmt);
+ vfinfo (config.map_file, fmt, arg, FALSE);
+ va_end (arg);
}
void