aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-dlx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-dlx.c')
-rw-r--r--gas/config/tc-dlx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-dlx.c b/gas/config/tc-dlx.c
index 25841ed..530e03c 100644
--- a/gas/config/tc-dlx.c
+++ b/gas/config/tc-dlx.c
@@ -245,7 +245,10 @@ s_proc (int end_p)
/* Missing entry point, use function's name with the leading
char prepended. */
if (leading_char)
- asprintf (&label, "%c%s", leading_char, name);
+ {
+ if (asprintf (&label, "%c%s", leading_char, name))
+ { /* Avoid warning */ }
+ }
else
label = name;
}