Skip to content

Conversation

lnksz
Copy link

@lnksz lnksz commented Sep 4, 2020

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.

I do not know the project's code-style, in some C projects this kind of error-handling would incorporate a goto.
@CLAassistant
Copy link

CLAassistant commented Sep 4, 2020

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

Coverage Status

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

mouse07410 added a commit to mouse07410/asn1c that referenced this pull request Dec 26, 2023
This is vlm#401 from vlm/asn1c by @Inksz.

From his PR:
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants