PSoC Creator 2.0 Generated source contains an unused variable resulting in a warning

Question: A project generates a warning about an unused variable when it is built. This variable is inside the cyfitter_cfg.c file in the ClockSetup() function:



reg32 timeout;
reg32* timeout_p = &timeout;

The warning is: prj.M0121:unused variable 'timeout_p'. How can I remove this warning?
This warning is safe to ignore; it will be addressed in a future release of PSoC Creator. It will only be generated if the following conditions are met:

1) Using PSoC5 TM
2) Using the MHz XTAL
3) Not Using the PLL
4) Not Using the 32k XTAL

You can change the warning level to low; however, this might suppress other warnings that are valid.