diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-17 20:26:08 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-17 20:26:08 +0000 |
commit | b54884346a6d7e38b17174cf4bc7b1d8cb62f86d (patch) | |
tree | c92dd17e22ce79721e1900b164497635e99a7880 /gdb/cp-abi.c | |
parent | 91fb4a253f9e22d6fc2fa623692d8fbd5fecab1f (diff) | |
download | gdb-b54884346a6d7e38b17174cf4bc7b1d8cb62f86d.tar.gz |
* cp-abi.c (cp_abi_completer): Fix typo in assignment.
Diffstat (limited to 'gdb/cp-abi.c')
-rw-r--r-- | gdb/cp-abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c index f1fa9011e66..366ba30ecfc 100644 --- a/gdb/cp-abi.c +++ b/gdb/cp-abi.c @@ -329,7 +329,7 @@ cp_abi_completer (struct cmd_list_element *ignore, cp_abi_names = XNEWVEC (const char *, num_cp_abis + 1); for (i = 0; i < num_cp_abis; ++i) cp_abi_names[i] = cp_abis[i]->shortname; - cp_abis[i] = NULL; + cp_abi_names[i] = NULL; } return complete_on_enum (cp_abi_names, text, word); |