From d3843777439498dab7ea59c5aac54f01984ffe4a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 9 Nov 2010 05:00:49 +0000 Subject: [PATCH] - client: fix harmless compile warning - make_project: don't try to install non-existent file svn path=/trunk/boinc/; revision=22656 --- checkin_notes | 9 +++++++++ client/cpu_sched.cpp | 2 ++ py/Boinc/setup_project.py | 2 -- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 6a63a73348..26d616586d 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7926,3 +7926,12 @@ David 08 Nov 2010 main.css style2.css white.css + +David 08 Nov 2010 + - client: fix harmless compile warning + - make_project: don't try to install non-existent file + + py/Boinc/ + setup_project.py + client/ + cpu_sched.cpp diff --git a/client/cpu_sched.cpp b/client/cpu_sched.cpp index ddd6e1754e..ee3ec08e4f 100644 --- a/client/cpu_sched.cpp +++ b/client/cpu_sched.cpp @@ -520,6 +520,7 @@ void CLIENT_STATE::reset_debt_accounting() { debt_interval_start = now; } +#if 0 #define REC_HALF_LIFE (30*86400) // update REC (recent estimated credit) @@ -546,6 +547,7 @@ static void update_rec() { ); } } +#endif // adjust project debts (short, long-term) // diff --git a/py/Boinc/setup_project.py b/py/Boinc/setup_project.py index 5f023fdaab..cbd2f5c4df 100644 --- a/py/Boinc/setup_project.py +++ b/py/Boinc/setup_project.py @@ -503,8 +503,6 @@ class Project: self.dir('html/project/project_specific_prefs.inc')) install(srcdir('html/project.sample/cache_parameters.inc'), self.dir('html/project/cache_parameters.inc')) - install(srcdir('html/ops', 'sample_server_status.php'), - self.dir('html/user/server_status.php')) install(srcdir('tools/project.xml'), self.dir('project.xml')) if not self.production: install(srcdir('test/uc_result'), self.dir('templates/uc_result'))