Skip to content

Commit

Permalink
commented out unused code.
Browse files Browse the repository at this point in the history
minor change.
  • Loading branch information
hardik05 authored Jan 21, 2019
1 parent 835098e commit 8213e13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gdiplus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ int main(int argc, char** argv)
ULONG_PTR gdiplusToken;
GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);

Image *image = NULL, *thumbnail=NULL;
Image *image = NULL;
//*thumbnail=NULL;

image = new Image(charToWChar(argv[1]));
if(image && (Ok == image->GetLastStatus())) {
Expand All @@ -59,7 +60,7 @@ int main(int argc, char** argv)
//printf("Done\n");

if(image) delete image;
if(thumbnail) delete thumbnail;
//if(thumbnail) delete thumbnail;

GdiplusShutdown(gdiplusToken);

Expand Down

0 comments on commit 8213e13

Please sign in to comment.