Commit: Score: Fix GAS compile-time warnings

Nick Clifton nickc@redhat.com
Mon Jun 13 09:34:00 GMT 2011


Hi Guys,

  I am checking in the patch below to fix compile time warnings about
  local variables that are set but not used when building GAS for the
  Score target.

Cheers
  Nick

gas/ChangeLog
2011-06-13  Nick Clifton  <nickc@redhat.com>

	* config/tc-score.c (s3_my_get_expression): Delete unused local
	variable 'seg'.
	(s3_do_ldst_insn): Delete unused local variable 'strbak'.
	(s3_do16_ldst_insn): Delete unused local variable 'temp'.
	(s3_do_macro_bcmp): Zero inst_expand array.
	(s3_do_macro_bcmpz): Likewise.
	(s3_s_score_end): Delete unused local variable 'dot'.
	(s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
	* config/tc-score7.c (s7_my_get_expression): Delete unused local
	variable 'seg'.
	(s7_do_ldst_insn): Delete unused local variable 'strbak'.
	(s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
	'r_new'.
	(s7_s_score_end): Delete unused local variable 'dot'.
	(s7_relax_frag): Delete unused local variable 'relax_size'.
	(s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tc-score.patch
Type: text/x-patch
Size: 10173 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20110613/d6e663c6/attachment.bin>


More information about the Binutils mailing list