From 9165f1b7bb862a67db401a6972732dd3f5b08081 Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 16 Mar 2008 22:00:32 +0000 Subject: [PATCH] actually use FOR_TRAIN initx --- hostside/safety.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostside/safety.h b/hostside/safety.h index df97544..def129d 100644 --- a/hostside/safety.h +++ b/hostside/safety.h @@ -214,7 +214,7 @@ const SegmentLinkInfo *trackloc_segmentlink(const TrackLocation *tloc, seg##n++, seg++, seg##i++, stepx) #define FOR_TRAIN(tra, initx, stepx) \ - for (tra##n=0, tra=trains; \ + for (tra##n=0, tra=trains, initx; \ tra##n < n_trains; \ tra##n++, tra++, stepx) -- 2.30.2