diff options
author | Varun <varun.dhall@studentpartner.com> | 2015-03-07 16:41:40 +0530 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-26 14:30:56 +0000 |
commit | 69c2825708d1e78225ad2f515b792734443d8247 (patch) | |
tree | dff561873b0f128ff698740ee1000aaa8d14ee57 /desktop/unx | |
parent | ed1605c1ea01c8b8d7809e3682d5c2104c16fa41 (diff) |
tdf#39440 cppcheck cleanliness, Fixing basic cpp errors
Initialized a non-initialized integer variable which is widely used in if else
Change-Id: Ibd99c0baa4cd3d4d409310a9a70dc7b421f6a8b2
Reviewed-on: https://gerrit.libreoffice.org/14780
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop/unx')
-rw-r--r-- | desktop/unx/source/file_image_unx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/unx/source/file_image_unx.c b/desktop/unx/source/file_image_unx.c index eb3c0d56fc50..fb677781cf65 100644 --- a/desktop/unx/source/file_image_unx.c +++ b/desktop/unx/source/file_image_unx.c @@ -76,7 +76,7 @@ int file_image_pagein (file_image * image) long s; size_t k; // force touching of each page despite the optimizer - volatile char c = 0; + volatile char c =0; if (image == 0) return EINVAL; |