From f6cfc5878a1a8581edc7a93c6838596d7945a5ae Mon Sep 17 00:00:00 2001 From: anthony Date: Wed, 23 Mar 2011 04:32:44 +0000 Subject: [PATCH] --- wand/montage.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wand/montage.c b/wand/montage.c index 274e2818c..986961002 100644 --- a/wand/montage.c +++ b/wand/montage.c @@ -842,11 +842,6 @@ WandExport MagickBooleanType MontageImageCommand(ImageInfo *image_info, } if (LocaleCompare("duplicate",option+1) == 0) { - i++; - if (i == (ssize_t) (argc-1)) - ThrowMontageException(OptionError,"MissingArgument",option); - if (IsGeometry(argv[i]) == MagickFalse) - ThrowMontageInvalidArgumentException(option,argv[i]); if (*option == '+') break; i++; -- 2.40.0