From 1a429b63c5e8d62b9e174f5ba7c74534198f11a0 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Sat, 4 May 2019 15:45:53 -0500 Subject: [PATCH] [SGImageUtils] eliminate unused variable. --- simgear/scene/util/SGImageUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/scene/util/SGImageUtils.cxx b/simgear/scene/util/SGImageUtils.cxx index 7f79cd7b..58aad3b2 100644 --- a/simgear/scene/util/SGImageUtils.cxx +++ b/simgear/scene/util/SGImageUtils.cxx @@ -1812,7 +1812,7 @@ namespace { static void write(const ImageUtils::PixelWriter* iw, const osg::Vec4f& c, int s, int t, int r, int m) { - GLubyte* ptr = (GLubyte*)iw->data(s, t, r, m); + iw->data(s, t, r, m); //OE_WARN << LC << "Target GL_UNSIGNED_BYTE_3_3_2 not yet implemented" << std::endl; } };