summaryrefslogtreecommitdiff
path: root/gdb/cp-abi.c
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2013-01-09 21:51:17 +0000
committerAnthony Green <green@redhat.com>2013-01-09 21:51:17 +0000
commit78ea7fc4f8f1e9472859eed706f7dd7d8d2c628b (patch)
tree0a90877508f2c8b2e9dc2ad9d4e6be93e259a0eb /gdb/cp-abi.c
parent6f96d94e532486d20ccdd9b6dbc24156e49f717f (diff)
downloadgdb-78ea7fc4f8f1e9472859eed706f7dd7d8d2c628b.tar.gz
Fixes for solaris compiler
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r--gdb/cp-abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c
index 37cf9c9e4fd..f2a96deda64 100644
--- a/gdb/cp-abi.c
+++ b/gdb/cp-abi.c
@@ -176,7 +176,7 @@ cplus_print_vtable (struct value *value)
{
if (current_cp_abi.print_vtable == NULL)
error (_("GDB cannot print the vtable on this target"));
- return (*current_cp_abi.print_vtable) (value);
+ (*current_cp_abi.print_vtable) (value);
}
int