cppcheck?

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Wed Jan 15 10:17:43 UTC 2014


Maybe it's time for another round?
There may be false positive in there too, but it might be worth doing.

	$ cppcheck -q -f --std=posix .
	[file.c:73]: (error) Common realloc mistake: 'mem' nulled but not freed upon failure
	[planner.c:404]: (error) Common realloc mistake: 'gaschanges' nulled but not freed upon failure
	[profile.c:135]: (error) Common realloc mistake: 'ev_namelist' nulled but not freed upon failure
	[uemis.h:46]: (error) syntax error
	[qt-ui/modeldelegates.cpp:67] -> [qt-ui/modeldelegates.h:37]: (warning) Call of pure virtual function 'revertModelData' in constructor.
	[qt-ui/subsurfacewebservices.cpp:216] -> [qt-ui/subsurfacewebservices.h:29]: (warning) Call of pure virtual function 'buttonClicked' in constructor.
	[qt-ui/subsurfacewebservices.cpp:217] -> [qt-ui/subsurfacewebservices.h:27]: (warning) Call of pure virtual function 'startDownload' in constructor.
	[qt-ui/subsurfacewebservices.cpp:218] -> [qt-ui/subsurfacewebservices.h:28]: (warning) Call of pure virtual function 'startUpload' in constructor.

or why not:

	$ cppcheck -q -f --std=posix --enable=all .


Cheers,

-- 
Cristian


More information about the subsurface mailing list