diff options
author | Tomaž Vajngerl <quikee@gmail.com> | 2013-12-11 08:08:56 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2013-12-11 08:11:28 +0100 |
commit | 5de94bee4aec92b389a0b1da48b668a9ef215437 (patch) | |
tree | 9bcfc0f3feb324774c3238942d3280c7ba5dbeb0 | |
parent | bbbb4062fd0129dee8449cf8b1585f58ebb3e1e1 (diff) |
WaE: : ignoring return value -Werror=unused-result
Change-Id: Ia75ccbe4ffd1e44585a590c7931b920168a6c703
-rw-r--r-- | sc/source/core/opencl/opencl_device_selection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/opencl/opencl_device_selection.h b/sc/source/core/opencl/opencl_device_selection.h index b4c60b9361e5..d6f775a49722 100644 --- a/sc/source/core/opencl/opencl_device_selection.h +++ b/sc/source/core/opencl/opencl_device_selection.h @@ -365,7 +365,8 @@ inline ds_status readProFile(const char* fileName, char** content, size_t* conte { return DS_FILE_ERROR; } - fread(binary, sizeof(char), size, input); + size_t bytesRead = fread(binary, sizeof(char), size, input); + (void) bytesRead; // avoid warning fclose(input); *contentSize = size; |