diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 14:03:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 14:11:12 +0100 |
commit | 4d33acbfbda4d72a8c4ded4ac9df6f1aee667424 (patch) | |
tree | 9ed235d070beb36474b73a71613ea932fa2ba21d /vcl/generic | |
parent | 4c4901893f2f734385411a76fa33d82a98ff714a (diff) |
coverity#708896 Unused pointer value
Change-Id: I8cb1d720a8fb22ba2153c5f556e4bd538f5ea8af
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/fontmanager/parseAFM.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/generic/fontmanager/parseAFM.cxx b/vcl/generic/fontmanager/parseAFM.cxx index a7199bcb9201..4e3469799a08 100644 --- a/vcl/generic/fontmanager/parseAFM.cxx +++ b/vcl/generic/fontmanager/parseAFM.cxx @@ -497,7 +497,7 @@ static int parseGlobals( FileInputStream* fp, GlobalFontInfo* gfi ) break; case EM: // skip one token - keyword = token(fp,tokenlen); + token(fp,tokenlen); break; case STARTDIRECTION: if ((keyword = token(fp,tokenlen)) != NULL) @@ -506,22 +506,22 @@ static int parseGlobals( FileInputStream* fp, GlobalFontInfo* gfi ) case ENDDIRECTION: break; /* ignore this for now */ case MAPPINGSCHEME: - keyword = token(fp,tokenlen); + token(fp,tokenlen); break; /* ignore this for now */ case CHARACTERS: - keyword = token(fp,tokenlen); + token(fp,tokenlen); break; /* ignore this for now */ case ISBASEFONT: - keyword = token(fp,tokenlen); + token(fp,tokenlen); break; /* ignore this for now */ case CHARACTERSET: - keyword=token(fp,tokenlen); //ignore + token(fp,tokenlen); //ignore break; case STDHW: - keyword=token(fp,tokenlen); //ignore + token(fp,tokenlen); //ignore break; case STDVW: - keyword=token(fp,tokenlen); //ignore + token(fp,tokenlen); //ignore break; case CHARWIDTH: if ((keyword = token(fp,tokenlen)) != NULL) @@ -529,7 +529,7 @@ static int parseGlobals( FileInputStream* fp, GlobalFontInfo* gfi ) if (direction == 0) gfi->charwidth = atoi(keyword); } - keyword = token(fp,tokenlen); + token(fp,tokenlen); /* ignore y-width for now */ break; case METRICSSETS: |