Fixed local variable (newCar) being used without initialization
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5749 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 5edb93282389ecffd5a97ea35036c8a15e90c868 Former-commit-id: ae5c0bb658f35eb7548284459293489bb5f554ba
This commit is contained in:
parent
44b4f820d5
commit
b6a399f147
1 changed files with 1 additions and 1 deletions
|
@ -1757,7 +1757,7 @@ class cGrCarCamRoadZoomTVD : public cGrCarCamRoadZoom
|
|||
|
||||
void update(tCarElt *car, tSituation *s) {
|
||||
int i, j;
|
||||
int newCar;
|
||||
int newCar = 0;
|
||||
double curPrio;
|
||||
double deltaEventTime = s->currentTime - lastEventTime;
|
||||
double deltaViewTime = s->currentTime - lastViewTime;
|
||||
|
|
Loading…
Reference in a new issue