diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index b09c201cd..e13b10cd5 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -9923,7 +9923,7 @@ static void inp_meas_control(struct card* card) { int is_control = 0; static int replaceno = 1; - struct card* prevcard; + struct card* prevcard = NULL; for (; card; prevcard = card, card = card->nextcard) {