mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-11 08:08:06 -05:00
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. [originally from svn r8119]
This commit is contained in:
parent
a071dfdcd2
commit
853361c5b0
2
config.c
2
config.c
@ -623,7 +623,7 @@ static void colour_handler(union control *ctrl, void *dlg,
|
||||
Config *cfg = (Config *)data;
|
||||
struct colour_data *cd =
|
||||
(struct colour_data *)ctrl->generic.context.p;
|
||||
int update = FALSE, clear, r, g, b;
|
||||
int update = FALSE, clear = FALSE, r, g, b;
|
||||
|
||||
if (event == EVENT_REFRESH) {
|
||||
if (ctrl == cd->listbox) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user