Commit 7b949556 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

test: fix a coverity complaint


Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent f657d834
Pipeline #114389 passed with stages
in 20 minutes and 28 seconds
......@@ -63,6 +63,7 @@ make_data_dir(const char *file_content)
litest_assert_int_eq(rc, (int)(strlen(dirname) + 16));
fp = fopen(filename, "w+");
litest_assert_notnull(fp);
rc = fputs(file_content, fp);
fclose(fp);
litest_assert_int_ge(rc, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment