summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/drawing.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hwpfilter/source/drawing.h b/hwpfilter/source/drawing.h
index 6ede0ea2e39f..2ccaa7311daa 100644
--- a/hwpfilter/source/drawing.h
+++ b/hwpfilter/source/drawing.h
@@ -321,7 +321,6 @@ static HWPDrawingObject *LoadDrawingObject(void)
fprintf(stderr, "LoadDrawingObject\n");
HWPDrawingObject *hdo, *head, *prev;
- int res;
unsigned short link_info;
@@ -343,7 +342,7 @@ static HWPDrawingObject *LoadDrawingObject(void)
}
else
{
- switch (res = HWPDOFunc(hdo, OBJFUNC_LOAD, NULL, 0))
+ switch (int res = HWPDOFunc(hdo, OBJFUNC_LOAD, NULL, 0))
{
case OBJRET_FILE_ERROR:
goto error;