From f43452829c8d049fbbf4151d80097c77221ee68b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 6 Feb 2008 04:32:06 +0000 Subject: [PATCH] - client: fix compile warning fixes #535 svn path=/trunk/boinc/; revision=14688 --- checkin_notes | 6 ++++++ clientgui/DlgAdvPreferences.cpp | 4 ++-- lib/msg_log.h | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 63b9b7fca8..0b34a32ede 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1217,3 +1217,9 @@ Rom Feb 5 2008 clientgui/ MainDocument.cpp + +David Feb 5 2008 + - client: fix compile warning + + lib/ + msg_log.h diff --git a/clientgui/DlgAdvPreferences.cpp b/clientgui/DlgAdvPreferences.cpp index a1be0be679..87fc5c9332 100644 --- a/clientgui/DlgAdvPreferences.cpp +++ b/clientgui/DlgAdvPreferences.cpp @@ -317,8 +317,8 @@ bool CDlgAdvPreferences::SavePreferencesSettings() { mask.run_if_user_active=true; // if(m_txtProcIdleFor->IsEnabled()) { - m_txtProcIdleFor->GetValue().ToLong(&tl); - prefs.idle_time_to_run=tl; + m_txtProcIdleFor->GetValue().ToLong(&td); + prefs.idle_time_to_run=td; mask.idle_time_to_run=true; } // diff --git a/lib/msg_log.h b/lib/msg_log.h index 87d4db2b23..6f0038e2af 100644 --- a/lib/msg_log.h +++ b/lib/msg_log.h @@ -47,6 +47,8 @@ public: int pid; MSG_LOG(FILE* output); + virtual ~MSG_LOG(){} + void enter_level(int = 1); void leave_level() { enter_level(-1); } MSG_LOG& operator++() { enter_level(); return *this; }