From 84b4a057c309f0ebdc4d53fce3c98c49ac5f373c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 27 Mar 2016 10:01:06 -0400 Subject: [PATCH] Squash warning about uninitialized variable --- swaylock/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swaylock/main.c b/swaylock/main.c index 848188e2..34f9d9aa 100644 --- a/swaylock/main.c +++ b/swaylock/main.c @@ -260,7 +260,7 @@ cairo_surface_t *load_image(char *image_path) { int main(int argc, char **argv) { const char *scaling_mode_str = "fit", *socket_path = NULL; int i; - void *images; + void *images = NULL; render_data.num_images = 0; render_data.color_set = 0;