aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/d-lang.c')
-rw-r--r--gdb/d-lang.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/d-lang.c b/gdb/d-lang.c
index d4f9956..0a9e9b0 100644
--- a/gdb/d-lang.c
+++ b/gdb/d-lang.c
@@ -38,9 +38,7 @@ static const char D_MAIN[] = "D main";
const char *
d_main_name (void)
{
- struct bound_minimal_symbol msym;
-
- msym = lookup_minimal_symbol (D_MAIN, NULL, NULL);
+ bound_minimal_symbol msym = lookup_minimal_symbol (D_MAIN, NULL, NULL);
if (msym.minsym != NULL)
return D_MAIN;