stacked_pc = ((unsigned long) hardfault_args[6]);\r
stacked_psr = ((unsigned long) hardfault_args[7]);\r
\r
+ /* Remove compiler warnings about variables being set but not used. */\r
+ ( void ) stacked_r0;\r
+ ( void ) stacked_r1;\r
+ ( void ) stacked_r2;\r
+ ( void ) stacked_r3;\r
+ ( void ) stacked_r12;\r
+ ( void ) stacked_lr;\r
+ ( void ) stacked_pc;\r
+ ( void ) stacked_psr;\r
+\r
/* Inspect stacked_pc to locate the offending instruction. */\r
for( ;; )\r
{\r