[PATCH 5/5] cppcheck: unused variable
Andy Holder
andy.m.holder at gmail.com
Sun Jan 23 16:13:24 PST 2011
---
hwpfilter/source/drawing.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/hwpfilter/source/drawing.h b/hwpfilter/source/drawing.h
index 9a9e797..d8925bc 100644
--- a/hwpfilter/source/drawing.h
+++ b/hwpfilter/source/drawing.h
@@ -187,7 +187,7 @@ static bool SkipUnusedField(void)
static bool LoadCommonHeader(HWPDrawingObject * hdo, WORD * link_info)
{
- uint size, property_size, common_size;
+ uint size, common_size;
if( !hmem )
return FALSE;
@@ -202,7 +202,6 @@ static bool LoadCommonHeader(HWPDrawingObject * hdo, WORD * link_info)
}
common_size = HDOFILE_COMMON_SIZE;
- property_size = 44;
hdo->type = hmem->read2b();
*link_info = sal::static_int_cast<WORD>(hmem->read2b());
hdo->offset.x = hmem->read4b();
--
1.7.3.5
--MP_/S_1zzibHa+Aiw7=XvorsHin--
More information about the LibreOffice
mailing list