I'd like to drive the OpenOCD code towards zero scan-build (clang static analysis) warnings and I'd very much appreciate patches to that effect!
I've added a scan-build (clang static analysis) that is run when a patch is submitted (openocd-gerrit). If scan-build fails, then the patch is still marked as verified. For now. You can look at the build output to find the warnings that scan-build shows, so you don't need clang installed on your machine to fix these warnings, just look at the jenkins build output. When a patch is submitted to the main repository, scan-build warnings *will* cause a failure. Hopefully this will drive us towards zero scan-build warnings. Also, -O3 is added, which can yield an occasional extra warning compared to -O2(default). -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 http://www.zylin.com/ _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development