Warning fixes:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 22 Jun 1998 05:59:23 +0000 (05:59 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 22 Jun 1998 05:59:23 +0000 (05:59 +0000)
commit63d088b75438a51ee0c5b63a801195453ce33cad
tree4f4fbbdafef4b61973a70c1c70e0a549f8ad8ba7
parentb3fb0b5e507318e1e89d170acf5ac63e8bd63c80
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.

From-SVN: r20653
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