Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Silence incorrect clang -Wconditional-uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux committed Aug 11, 2013
1 parent 56e3c00 commit d0d2370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ static void colour_handler(union control *ctrl, void *dlg,
Conf *conf = (Conf *)data;
struct colour_data *cd =
(struct colour_data *)ctrl->generic.context.p;
int update = FALSE, clear = FALSE, r, g, b;
int update = FALSE, clear = FALSE, r = 0, g = 0, b = 0;

if (event == EVENT_REFRESH) {
if (ctrl == cd->listbox) {
Expand Down

0 comments on commit d0d2370

Please sign in to comment.