commit e54815cd67e4ee484a0f3e87069ab4c0d11a1d8f parent 1ade1883249f2ad8a5117e43c2c5e1171f4752b3 Author: Wilson Gheen <wilson@wilsonrgheen.com> Date: Sat, 24 Dec 2022 16:01:58 -0600 Remove unnecessary assignments Diffstat:
M | photomosaics.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/photomosaics.c b/photomosaics.c @@ -35,9 +35,9 @@ int main(int argc, char **argv) { strcpy(thumbnails->filename, argv[2]); WriteImage(image_info, thumbnails, exception); - thumbnails = DestroyImageList(thumbnails); - image_info = DestroyImageInfo(image_info); - exception = DestroyExceptionInfo(exception); + DestroyImageList(thumbnails); + DestroyImageInfo(image_info); + DestroyExceptionInfo(exception); MagickCoreTerminus(); return 0; }