diff --git a/client/cpu_sched.cpp b/client/cpu_sched.cpp index 5a1eafacf8..634e717ff3 100644 --- a/client/cpu_sched.cpp +++ b/client/cpu_sched.cpp @@ -774,11 +774,11 @@ void CLIENT_STATE::append_unfinished_time_slice( // bool CLIENT_STATE::enforce_schedule() { unsigned int i; - ACTIVE_TASK* atp, *preempt_atp; vector preemptable_tasks; static double last_time = 0; int retval; double ncpus_used; + ACTIVE_TASK* atp; // Do this when requested, and once a minute as a safety net // diff --git a/clientgui/ViewNews.cpp b/clientgui/ViewNews.cpp index aea0e0f6be..0f6d8d2992 100644 --- a/clientgui/ViewNews.cpp +++ b/clientgui/ViewNews.cpp @@ -106,7 +106,7 @@ CViewNews::~CViewNews() { wxString& CViewNews::GetViewName() { - static wxString strViewName(wxT"News")); + static wxString strViewName(wxT("News")); return strViewName; }