From c8ac5690ba19d6d7484ff97782f93c2be9277567 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Fri, 16 Aug 2013 22:29:55 -0700 Subject: [PATCH] Cleanup. --- examples/common/entry/cmd.cpp | 1 - src/image.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/examples/common/entry/cmd.cpp b/examples/common/entry/cmd.cpp index 4ec4547bc..7f60d8dfb 100644 --- a/examples/common/entry/cmd.cpp +++ b/examples/common/entry/cmd.cpp @@ -209,7 +209,6 @@ struct CmdContext ConsoleFn m_fn; void* m_userData; }; - typedef std::unordered_map CmdLookup; CmdLookup m_lookup; diff --git a/src/image.cpp b/src/image.cpp index 2f7c5f967..6cb22c978 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -10,7 +10,6 @@ namespace bgfx { static void imageSwizzleBGRA8Ref(uint8_t* _rgbaData, uint32_t _width, uint32_t _height) { - const uint32_t dstpitch = _width*4; uint8_t* ptr = _rgbaData; for (uint32_t xx = 0, num = _width*_height; xx < num; ++xx)