OSDN Git Service

Warning fixes:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jun 1998 05:59:23 +0000 (05:59 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jun 1998 05:59:23 +0000 (05:59 +0000)
commitee5605bfc8ff92700500a398c783be7269596f9b
tree4f4fbbdafef4b61973a70c1c70e0a549f8ad8ba7
parent258304056c2e20f416a93b8df9d7eb2ae52ddd49
Warning fixes:
        * call.c (build_scoped_method_call): Remove unused variable `tmp'.
        * cp-tree.h (check_dtor_name): Add prototype.
        * init.c (expand_member_init): Remove unused variables
        `ptr_type_node', `parm' and `rval'.
        * ptree.c (print_lang_type): Use HOST_WIDE_INT_PRINT_DEC specifier
        in call to fprintf.
        (lang_print_xnode): Likewise.
        * typeck2.c (enum_name_string): Cast argument to sprintf to long
        and use %ld specifier.
        * xref.c (GNU_xref_end_scope): Use HOST_WIDE_INT_PRINT_DEC
        specifier in call to fprintf.
        (GNU_xref_member): Cast argument to sprintf to int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20653 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/ptree.c
gcc/cp/typeck2.c
gcc/cp/xref.c