summaryrefslogtreecommitdiff
path: root/utests/utest_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utests/utest_helper.cpp')
-rw-r--r--utests/utest_helper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utests/utest_helper.cpp b/utests/utest_helper.cpp
index 162c47b0..a9e270ea 100644
--- a/utests/utest_helper.cpp
+++ b/utests/utest_helper.cpp
@@ -531,6 +531,7 @@ int *cl_read_bmp(const char *filename, int *width, int *height)
char magic[2];
int ret;
ret = fread(&magic[0], 1, 2, fp);
+ ret = ret;
assert(2 == ret);
assert(magic[0] == 'B' && magic[1] == 'M');