danmar/cppcheck — comment on commit 9be2d1cc6281c22faa2a92ec35b9bca233a472d6
File:  line 0
By danmar:

I agree that in general it's a good idea to use clear() to avoid having dead pointers.

But in this case I see no advantage neither since macros is a local map and the function returns immediately after the deallocation.