summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-06 14:02:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-06 14:11:12 +0100
commit4c4901893f2f734385411a76fa33d82a98ff714a (patch)
tree05b2691cf1b3d699e0ebad6df5f412df75cecac3 /vcl/generic
parent6407a1bd8094aa86522566693c6d6ae631f4610d (diff)
coverity#708898 Unused pointer value
Change-Id: Ida87450bda99260d9e153bb9e48d8867f53d42ca
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/fontmanager/parseAFM.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/generic/fontmanager/parseAFM.cxx b/vcl/generic/fontmanager/parseAFM.cxx
index bbb8c2eec298..a7199bcb9201 100644
--- a/vcl/generic/fontmanager/parseAFM.cxx
+++ b/vcl/generic/fontmanager/parseAFM.cxx
@@ -611,7 +611,7 @@ static int parseCharWidths( FileInputStream* fp, int* cwi)
break;
case XYWIDTH:
/* PROBLEM: Should be no Y-WIDTH when doing "quick & dirty" */
- keyword = token(fp,tokenlen); keyword = token(fp,tokenlen); /* eat values */
+ token(fp,tokenlen); keyword = token(fp,tokenlen); /* eat values */
error = parseError;
break;
case CODEHEX:
@@ -634,14 +634,14 @@ static int parseCharWidths( FileInputStream* fp, int* cwi)
error = normalEOF;
break;
case CHARNAME: /* eat values (so doesn't cause parseError) */
- keyword = token(fp,tokenlen);
+ token(fp,tokenlen);
break;
case CHARBBOX:
- keyword = token(fp,tokenlen); keyword = token(fp,tokenlen);
- keyword = token(fp,tokenlen); keyword = token(fp,tokenlen);
+ token(fp,tokenlen); keyword = token(fp,tokenlen);
+ token(fp,tokenlen); keyword = token(fp,tokenlen);
break;
case LIGATURE:
- keyword = token(fp,tokenlen); keyword = token(fp,tokenlen);
+ token(fp,tokenlen); keyword = token(fp,tokenlen);
break;
case VVECTOR:
token(fp,tokenlen); /*eat token*/