From 909e7d69ee6cd20e52ec60d9baa7dcf66a259739 Mon Sep 17 00:00:00 2001 From: Lioncash <mathew1800@gmail.com> Date: Thu, 5 Sep 2019 20:16:03 -0400 Subject: [PATCH] General: Remove unused file-scope variables Removes unused logvisor modules. This also allows removing some inclusions. Silences a few unused variable warnings as well. --- specter/lib/FileBrowser.cpp | 3 --- specter/lib/RootView.cpp | 2 -- specter/lib/Space.cpp | 3 --- specter/lib/View.cpp | 3 --- 4 files changed, 11 deletions(-) diff --git a/specter/lib/FileBrowser.cpp b/specter/lib/FileBrowser.cpp index 3ae19a947..9901f283b 100644 --- a/specter/lib/FileBrowser.cpp +++ b/specter/lib/FileBrowser.cpp @@ -7,11 +7,8 @@ #include "specter/TextField.hpp" #include <hecl/hecl.hpp> -#include <logvisor/logvisor.hpp> namespace specter { -static logvisor::Module Log("specter::FileBrowser"); - #define BROWSER_MARGIN 8 #define BROWSER_MIN_WIDTH 600 #define BROWSER_MIN_HEIGHT 300 diff --git a/specter/lib/RootView.cpp b/specter/lib/RootView.cpp index 099cd84bf..3e8ceeb03 100644 --- a/specter/lib/RootView.cpp +++ b/specter/lib/RootView.cpp @@ -9,10 +9,8 @@ #include "specter/ViewResources.hpp" #include <boo/graphicsdev/IGraphicsCommandQueue.hpp> -#include <logvisor/logvisor.hpp> namespace specter { -static logvisor::Module Log("specter::RootView"); RootView::RootView(IViewManager& viewMan, ViewResources& res, boo::IWindow* window) : View(res), m_window(window), m_viewMan(viewMan), m_viewRes(&res), m_events(*this) { diff --git a/specter/lib/Space.cpp b/specter/lib/Space.cpp index 140731362..963b0cd36 100644 --- a/specter/lib/Space.cpp +++ b/specter/lib/Space.cpp @@ -5,11 +5,8 @@ #include "specter/ViewResources.hpp" #include <boo/graphicsdev/IGraphicsCommandQueue.hpp> -#include <logvisor/logvisor.hpp> namespace specter { -static logvisor::Module Log("specter::Space"); - #define TRIANGLE_DIM 12 #define TRIANGLE_DIM1 10 #define TRIANGLE_DIM2 8 diff --git a/specter/lib/View.cpp b/specter/lib/View.cpp index 4024394ea..ba535ade5 100644 --- a/specter/lib/View.cpp +++ b/specter/lib/View.cpp @@ -5,11 +5,8 @@ #include <boo/System.hpp> #include <hecl/Pipeline.hpp> -#include <logvisor/logvisor.hpp> namespace specter { -static logvisor::Module Log("specter::View"); - zeus::CMatrix4f g_PlatformMatrix; void View::Resources::init(boo::IGraphicsDataFactory::Context& ctx, const IThemeData& theme) {