From 1d59015da1673942159eccd9346142feae85ed85 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 28 Dec 2012 00:43:53 +0000 Subject: [PATCH] No changes, just remove an unused variable. Closes #14923. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/core/glgrab.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osx/core/glgrab.cpp b/src/osx/core/glgrab.cpp index 83aec47665..669f2ba6c4 100644 --- a/src/osx/core/glgrab.cpp +++ b/src/osx/core/glgrab.cpp @@ -115,7 +115,6 @@ CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect) void * data; long bytewidth; GLint width, height; - long bytes; CGLContextObj glContextObj; CGLPixelFormatObj pixelFormatObj ; @@ -157,7 +156,6 @@ CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect) bytewidth = width * 4; // Assume 4 bytes/pixel for now bytewidth = (bytewidth + 3) & ~3; // Align to 4 bytes - bytes = bytewidth * height; // width * height /* Build bitmap context */ data = malloc(height * bytewidth); -- 2.47.2