On 6/11/20 8:02 PM, Andrii Nakryiko wrote:
On Thu, Jun 11, 2020 at 3:33 AM Tobias Klauser <tklauser@xxxxxxxxxx> wrote:
Currently, the codegen function might fail and return an error. But its
callers continue without checking its return value. Since codegen can
fail only in the ounlikely case of the system running out of memory or
the static template being malformed, just exit(-1) directly from codegen
and make it void-returning.
Suggested-by: Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx>
Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>
---
LGTM. Thanks!
Acked-by: Andrii Nakryiko <andriin@xxxxxx>
Applied, thanks!