Skip to content

Commit

Permalink
Img_C0: Remove unused MStream
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximus5 committed Aug 16, 2017
1 parent 341261d commit 9247604
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Col0/img_c0/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.vs
/Release
/obj
10 changes: 0 additions & 10 deletions Col0/img_c0/img.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define ARRAYSIZE(x) (sizeof(x)/sizeof(x[0]))
#endif

#include "../../common/MStream.h"
// äëÿ óíèôèêàöèè col0host & PanelView
#include "../../common/plugin.h"

#ifdef _DEBUG
Expand Down Expand Up @@ -371,7 +369,6 @@ struct GDIPlusImage
wchar_t szTempFile[MAX_PATH+1];
GDIPlusDecoder *gdi;
Gdiplus::GpImage *img;
MStream* strm;
HRESULT nErrNumber, nLastError;
//
UINT lWidth, lHeight, pf, nBPP, nPages, /*lFrameTime,*/ nActivePage, nTransparent; //, nImgFlags;
Expand All @@ -382,7 +379,6 @@ struct GDIPlusImage
GDIPlusImage(GDIPlusDecoder *gdi_)
: gdi(gdi_)
, img(NULL)
, strm(NULL)
{
nMagic = eGdiStr_Image;
szTempFile[0] = 0;
Expand Down Expand Up @@ -535,12 +531,6 @@ struct GDIPlusImage
img = NULL;
}

if (strm)
{
delete strm;
strm = NULL;
}

if (szTempFile[0])
{
DeleteFile(szTempFile);
Expand Down

0 comments on commit 9247604

Please sign in to comment.