From 2510a54aac75ff652471d472fe4b8d87b63aa7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sat, 22 Jun 2019 01:27:03 +0200 Subject: [PATCH] Fix compiler warning about uninitialized variable --- gds-utils/gds-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gds-utils/gds-parser.c b/gds-utils/gds-parser.c index c71dcd6..9913837 100644 --- a/gds-utils/gds-parser.c +++ b/gds-utils/gds-parser.c @@ -574,7 +574,7 @@ static void convert_aref_to_sref(struct gds_cell_array_instance *aref, struct gd struct gds_point origin; struct gds_point row_shift_vector; struct gds_point col_shift_vector; - struct gds_cell_instance *sref_inst; + struct gds_cell_instance *sref_inst = NULL; int col; int row;