From: Dirk Lemstra Date: Sat, 24 Mar 2018 20:49:23 +0000 (+0100) Subject: Renamed variable. X-Git-Tag: 7.0.7-28~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cc1f75ca5e2e848e906a7417237c14c4c9afe00c;p=imagemagick Renamed variable. --- diff --git a/Magick++/fuzz/encoder_utils.cc b/Magick++/fuzz/encoder_utils.cc index e7683e165..e2eaf7141 100644 --- a/Magick++/fuzz/encoder_utils.cc +++ b/Magick++/fuzz/encoder_utils.cc @@ -3,11 +3,12 @@ static int fuzzEncoderWithStringFilename(const std::string encoder, const uint8_ // Allow a bit extra to make sure we do proper bounds checking in Magick++ if (Size > MagickPathExtent) return 0; - std::string color(reinterpret_cast(Data), Size); + + std::string fileName(reinterpret_cast(Data), Size); Magick::Image image; try { - image.read(encoder + ":" + color); + image.read(encoder + ":" + fileName); } catch (Magick::Exception &e) { }