[COMMITTED] cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.

Message ID m3vbm7ax61.fsf@seba.sebabeach.org
State Committed
Headers

Commit Message

Doug Evans Nov. 22, 2014, 6:48 p.m. UTC
  Hi.

Just a fix to a function comment.
The SYMTAB argument no longer exists.

2014-11-22  Doug Evans  <xdje42@gmail.com>

	* cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
  

Patch

diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c
index 31075fe..fcfd17b 100644
--- a/gdb/cp-namespace.c
+++ b/gdb/cp-namespace.c
@@ -218,9 +218,7 @@  cp_is_anonymous (const char *namespace)
    names.  This makes sure that names get looked for in all namespaces
    that are in scope.  NAME is the natural name of the symbol that
    we're looking for, BLOCK is the block that we're searching within,
-   DOMAIN says what kind of symbols we're looking for, and if SYMTAB
-   is non-NULL, we should store the symtab where we found the symbol
-   in it.  */
+   DOMAIN says what kind of symbols we're looking for.  */
 
 struct symbol *
 cp_lookup_symbol_nonlocal (const char *name,