Files
swupd-client/scripts
Otavio Pontes c019e11cc0 Create the UNEXPECTED() macro
There are several points in swupd that we find conditions that should never
happen, but we try to correct them anyway to be more reliable. Because of that
we may hide programming mistakes that are corrected later.

So, to make sure we are going to catch those problems in debug mode in our development
machines and test environment, I am suggesting a UNEXPECTED() macro that aborts swupd
if --enable-debug was used to build swupd.

I am adding some examples on what we could do with that.

Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2020-04-13 11:18:31 -07:00
..
2018-05-22 15:08:38 -07:00