Patchwork [xtensa] Remove unused variable

login
register
mail settings
Submitter Chung-Lin Tang
Date Oct. 21, 2012, 6:09 a.m.
Message ID <508391AB.6050300@codesourcery.com>
Download mbox | patch
Permalink /patch/192984/
State New
Headers show

Comments

Chung-Lin Tang - Oct. 21, 2012, 6:09 a.m.
Hi Sterling,
the last thread pointer builtin changes left an unused 'arg' variable in
xtensa_expand_builtin(), which triggered a new warning. Thanks to
Jan-Benedict for testing this. Attached patch was committed as obvious.

Thanks,
Chung-Lin

	* config/xtensa/xtensa.c (xtensa_expand_builtin): Remove unused
	'arg' variable.

Patch

Index: config/xtensa/xtensa.c
===================================================================
--- config/xtensa/xtensa.c	(revision 192647)
+++ config/xtensa/xtensa.c	(working copy)
@@ -3133,7 +3133,6 @@  xtensa_expand_builtin (tree exp, rtx target,
 {
   tree fndecl = TREE_OPERAND (CALL_EXPR_FN (exp), 0);
   unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
-  rtx arg;
 
   switch (fcode)
     {