diff --git a/Adapter.cc b/Adapter.cc index 0eeb386..2acb0b8 100644 --- a/Adapter.cc +++ b/Adapter.cc @@ -72,9 +72,7 @@ namespace pEp { status = PEP_ILLEGAL_VALUE; } - if (status) - throw_status(status); - + throw_status(status); return _session; }