danmar/cppcheck — pull request #60 by richq (2011-11-09 20:11:55+00:00)
Title: Fix varid 0 with function pointer and virtual methods

This seems really similar to http://sourceforge.net/apps/trac/cppcheck/ticket/3279

I discovered this independently the other day with a different scenario. Adding a "virtual" check here fixes the problem, but perhaps there is a better way?