Mark non-returning functions in ctftools
This trivial patch marks the two non-returning function definitions terminate() and aborterr() in ctftools.h as non-returning. This helps Clang Static Analyzer.
The attachment is against FreeBSD source code.
Updated by Electric Monk almost 5 years ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
commit a6bde1a23b60f140c7ed78df979c2e22b1ed9b2c Author: Erik Cederstrand <email@example.com> Date: 2014-11-12T19:53:00.000Z 3363 Mark non-returning functions in ctftools Reviewed by: Richard Lowe <firstname.lastname@example.org> Reviewed by: Josef 'Jeff' Sipek <email@example.com> Approved by: Albert Lee <firstname.lastname@example.org>