| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Putty
Revision: 8119
Author: simon
Date: 17 Jul 2008 13:01:27
Changes:At least one version of gcc won't figure out that "clear" is never
read uninitialised (because the only circumstance under which it
isn't initialised is when "update" is FALSE, in which case it isn't
read either). Placate it.
| ... | ...@@ -623,7 +623,7 @@ | |
| 623 | 623 | Config *cfg = (Config *)data; |
| 624 | 624 | struct colour_data *cd = |
| 625 | 625 | (struct colour_data *)ctrl->generic.context.p; |
| 626 | int update = FALSE, clear, r, g, b; | |
| 626 | int update = FALSE, clear = FALSE, r, g, b; | |
| 627 | 627 | |
| 628 | 628 | if (event == EVENT_REFRESH) { |
| 629 | 629 | if (ctrl == cd->listbox) { |