gcc -Wall lint.
authorIan Lance Taylor <ian@airs.com>
Wed, 18 Jan 1995 17:24:48 +0000 (17:24 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 18 Jan 1995 17:24:48 +0000 (17:24 +0000)
commit96d1566d78376216122164d909f4c9a8c20cb638
tree9997293862f835619a6415e6efb00c541d323dd8
parent0f1cf1457f396ac7849234f3fd71db8e980a2daa
gcc -Wall lint.
* expr.c (operand): Parenthesize && within ||.
* listing.c (listing_newline): Likewise.
(list_symbol_table): Use %lu to print sizeof.
* symbols.c: Comment out unused function indent.
(print_symbol_value_1): Cast pointer to unsigned long for printf.
* config/obj-coff.c (do_relocs_for): Only declare symbol_ptr if it
will be used.
* config/tc-h8300.c (md_begin): Remove unused variable reg.
(get_operand): Declare type of parameter direction.  Remove unused
variable size.
(get_specific): Fix comment to avoid nested comments.
(check_operand): Cast X_add_number to unsigned long for printf.
(build_bytes): Remove unused local variables output_ptr, part, and
high.
(build_bytes): Cast X_add_number to unsigned long for printf.
(clever_message): Remove unused variable scan.
(md_assemble): Remove unused variable i.
(tc_coff_sizemachdep): Remove unused function.
* tc-h8300.h (tc_reloc_mangle): Declare.
gas/ChangeLog
gas/config/obj-coff.c