From 55ce3e139e6d85d1b95c8dd1873745f3ee6a2673 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 20 Dec 2011 03:00:20 +0300 Subject: [PATCH] Warning fix --- yg/texture.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yg/texture.hpp b/yg/texture.hpp index bac7570abd..e0fe3c87f3 100644 --- a/yg/texture.hpp +++ b/yg/texture.hpp @@ -96,7 +96,7 @@ namespace yg void dump(char const * fileName) { makeCurrent(); - std::string const fullPath = GetPlatform().WritablePathForFile(fileName); +// std::string const fullPath = GetPlatform().WritablePathForFile(fileName); typename Traits::image_t image(width(), height()); @@ -284,7 +284,7 @@ namespace yg { lock(); readback(); - std::string const fullPath = GetPlatform().WritablePathForFile(fileName); +// std::string const fullPath = GetPlatform().WritablePathForFile(fileName); #ifndef OMIM_GL_ES // boost::gil::lodepng_write_view(fullPath.c_str(), view(width(), height())); #endif