name-lookup.c (find_binding): Pass appropriate pointer type to POP_TIMEVAR_AND_RETURN.

* name-lookup.c (find_binding): Pass appropriate pointer type to
	POP_TIMEVAR_AND_RETURN.

From-SVN: r65253
This commit is contained in:
Kaveh R. Ghazi 2003-04-04 22:35:22 +00:00 committed by Kaveh Ghazi
parent 08b0f5f900
commit da247cccbc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* name-lookup.c (find_binding): Pass appropriate pointer type to
POP_TIMEVAR_AND_RETURN.
2003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Make-lang.in (cp-warn): Add $(STRICT_WARN).

View File

@ -69,7 +69,7 @@ find_binding (cxx_scope *scope, cxx_binding *binding)
if (BINDING_SCOPE (binding) == scope)
POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, binding);
POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, NULL);
POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, (cxx_binding *)0);
}
/* Return the binding for NAME in SCOPE, if any. Otherwise, return NULL. */