From 3fcb32b2b5f28fe549db6cbe5b257a264fca0aba Mon Sep 17 00:00:00 2001 From: Scoopta Date: Mon, 27 Jul 2020 23:55:33 -0700 Subject: [PATCH] data1 can be initialized to NULL --- src/wofi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wofi.c b/src/wofi.c index a71c5c1..1f718a5 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -257,7 +257,7 @@ static char* parse_images(WofiPropertyBox* box, const char* text, bool create_wi char* original = strdup(text); char* mode1 = NULL; char* mode2 = NULL; - char* data1 = original; + char* data1 = NULL; char* data2 = NULL; get_img_data(original, original, mode_map, true, &mode2, &data2);