From: Yu Watanabe Date: Sun, 9 May 2021 05:16:11 +0000 (+0900) Subject: test: add one more assertion to make Coverty happy X-Git-Tag: v249-rc1~265^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fedd793ceaf3c2b5f9a8908cedf95b0aaccf3ea4;p=thirdparty%2Fsystemd.git test: add one more assertion to make Coverty happy Fixes CID#1452934. --- diff --git a/src/test/test-strbuf.c b/src/test/test-strbuf.c index 0cdef3fb729..a7c2f83c731 100644 --- a/src/test/test-strbuf.c +++ b/src/test/test-strbuf.c @@ -29,6 +29,7 @@ static void test_strbuf(void) { /* check the content of the buffer directly */ l = strv_parse_nulstr(sb->buf, sb->len); + assert_se(l); assert_se(streq(l[0], "")); /* root */ assert_se(streq(l[1], "waldo"));