Might as well make it: 

```cpp
if (!decl) 
    return;
```