From 1c1f7f08f13656d56adcb1b20079553cf749b47e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 4 May 2009 20:25:59 +0000 Subject: [PATCH] compile fix svn path=/trunk/boinc/; revision=17998 --- client/cpu_sched.cpp | 2 +- clientgui/ViewNews.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }