asn1c icon indicating copy to clipboard operation
asn1c copied to clipboard

asn_internal: Call va_end before returning

Open lnksz opened this issue 5 years ago • 2 comments
trafficstars

I do not know the project's code-style, in some C projects this kind of error-handling would incorporate a goto. But because of the general avoidance of goto I added va_end before each return.

I suppose has more insight into what this function does, one could "dry" the error handling.

lnksz avatar Sep 04 '20 10:09 lnksz

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 04 '20 10:09 CLAassistant

Coverage Status

Coverage decreased (-0.03%) to 70.883% when pulling 834b75aeb4596ca558130acc8ace21b3f3a7cdac on lnksz:patch-1 into 00fa516f3c6ab247c263df6828143c34b1fbffa4 on vlm:master.

coveralls avatar Sep 04 '20 13:09 coveralls