libctf: Return CTF_ERR in ctf_type_resolve_unsliced PR 30836
commit0f79aa900f3a69780dde1e934ffe21e30236934e
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Tue, 17 Oct 2023 18:36:50 +0000 (17 20:36 +0200)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Wed, 18 Oct 2023 07:39:59 +0000 (18 09:39 +0200)
tree53327707633d23bc3c1c9faf95430d525943fb95
parentb6d3616fb3c0f0ce176b8d916f12fd65f3d9b318
libctf: Return CTF_ERR in ctf_type_resolve_unsliced PR 30836

In commit 998a4f589d68503f79695f180fdf1742eeb0a39d, all but one return
statement was updated to return the error proper value. This commit
rectifies that missed return statement.

libctf/
ctf-types.c (ctf_type_resolve_unsliced): Return CTF_ERR on error.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
libctf/ctf-types.c