commit | 4b46e6a26165d6e5e153f4b58b230172e99e1b3d | [log] [tgz] |
---|---|---|
author | dirk <dirk@git.imagemagick.org> | Mon Jul 20 05:15:57 2015 +0000 |
committer | dirk <dirk@git.imagemagick.org> | Mon Jul 20 05:15:57 2015 +0000 |
tree | 9d7acab297ff63ce804166af7015222ed2bd9341 | |
parent | 2ce3d8dce1b477d35900fc20e93e5feb2fdf35f2 [diff] |
Coverity fix
diff --git a/MagickCore/geometry.c b/MagickCore/geometry.c index 732da30..b2a7490 100644 --- a/MagickCore/geometry.c +++ b/MagickCore/geometry.c
@@ -934,7 +934,7 @@ q=p; value=StringToDouble(p,&q); if (LocaleNCompare(p,"0x",2) == 0) - value=(double) strtol(p,&q,10); + (void) strtol(p,&q,10); c=(int) ((unsigned char) *q); if ((c == 215) || (*q == 'x') || (*q == 'X') || (*q == ',') || (*q == '/') || (*q == ':') || (*q =='\0'))