-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Milestone
Description
This is extremely minor, and I only stumbled upon it because I am running static analysis on some code where I have used the poco_unexpected() macro (Re-implementation of SQLite SessionImpl for read-only).
The macro definition of poco_bugcheck ends with a ";" as the only macro within Bugcheck.h.
#define poco_unexpected() \
Poco::Bugcheck::unexpected(__FILE__, __LINE__);
Within Poco, the use of poco_unexpected()
is also terminated with a ";" giving an "Empty statement" warning in static analysis.
It was added 11 years ago, and causes no issues outside of the above static analysis warning.
Regards
Lau Bakman
Metadata
Metadata
Assignees
Labels
No labels