desktop/unx/source/file_image_unx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 05c51d5dfb58549e5bf26cb5c8b9b4f0083dca25 Author: Julien Nabet <serval2...@yahoo.fr> Date: Tue Jan 10 00:02:01 2012 +0100 Some cppcheck cleaning diff --git a/desktop/unx/source/file_image_unx.c b/desktop/unx/source/file_image_unx.c index 078585f..fe3384b 100644 --- a/desktop/unx/source/file_image_unx.c +++ b/desktop/unx/source/file_image_unx.c @@ -90,6 +90,7 @@ int file_image_pagein (file_image * image) file_image w; long s; size_t k; + // force touching of each page despite the optimizer volatile char c = 0; if (image == 0) @@ -116,8 +117,6 @@ int file_image_pagein (file_image * image) if (w.m_size > 0) { c ^= ((char*)(w.m_base))[0]; - w.m_base = (char*)(w.m_base) + w.m_size; - w.m_size -= w.m_size; } return (0); _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits