diff --git a/wlopm.c b/wlopm.c index d257199..fa2ff92 100644 --- a/wlopm.c +++ b/wlopm.c @@ -175,7 +175,7 @@ static struct Output *output_from_name (const char *str) static void output_set_power_mode (struct Output *output, enum Power_mode mode) { - enum zwlr_output_power_v1_mode new_mode; + enum zwlr_output_power_v1_mode new_mode = ZWLR_OUTPUT_POWER_V1_MODE_ON; switch (mode) { case ON: