- if((lastunmatched[j].routes|relationx.routes)==relationx.routes)
- routes=0; /* Nothing new to add */
- else
- for(j=0;j<lastnunmatched;j++)
- if(lastunmatched[j].id==relationx.id)
- {
+ int j;
+
+ for(j=0;j<lastnunmatched;j++)
+ if(lastunmatched[j].id==relationx.id)
+ {
+ relations++;
+
+ if((lastunmatched[j].routes|relationx.routes)==relationx.routes)
+ routes=0; /* Nothing new to add */
+ else