Code

Make clang-analyze happy in two irrelevant cases.
[sysdb.git] / t / utils / channel_test.c
index 02ed172a42ace53f1090e2b18379246681fe6774..3827c0705f7f78efa3cc77da6fc2bb526f1b6e32 100644 (file)
@@ -138,6 +138,8 @@ START_TEST(test_write_read)
 
        data = 0xffffffff;
        check = sdb_channel_read(chan, &data);
+       fail_unless(check == 0,
+                       "sdb_channel_read() = %d; expected: 0", check);
        /* result depends on endianess */
        fail_unless((data == 0xffffff00) || (data == 0x00ffffff),
                        "sdb_channel_read() returned data %x; "