Squash warning about uninitialized variable

This commit is contained in:
Drew DeVault 2016-03-27 10:01:06 -04:00
parent a8d9752726
commit f264c89d11

2
main.c
View File

@ -260,7 +260,7 @@ cairo_surface_t *load_image(char *image_path) {
int main(int argc, char **argv) { int main(int argc, char **argv) {
const char *scaling_mode_str = "fit", *socket_path = NULL; const char *scaling_mode_str = "fit", *socket_path = NULL;
int i; int i;
void *images; void *images = NULL;
render_data.num_images = 0; render_data.num_images = 0;
render_data.color_set = 0; render_data.color_set = 0;