You could change this to:

```
for (Dsymbol *sx = f; sx && sx != outerFunc; sx = sx->parent)
```

The changeset is then only one line.