extra: small fix for when the database is disabled but we have inline info

This is to change how this is handled:

foo(&bar);

In the original code if there wasn't a cross function database then it
just resets the struct. But in the new code if we have the information in
the in-memory database then we use that instead of blindly clearing it.