sc/source/core/opencl/opencl_device_selection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 5de94bee4aec92b389a0b1da48b668a9ef215437 Author: Tomaž Vajngerl <qui...@gmail.com> Date: Wed Dec 11 08:08:56 2013 +0100 WaE: : ignoring return value -Werror=unused-result Change-Id: Ia75ccbe4ffd1e44585a590c7931b920168a6c703 diff --git a/sc/source/core/opencl/opencl_device_selection.h b/sc/source/core/opencl/opencl_device_selection.h index b4c60b9..d6f775a 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;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits