From c44635f5ab795807e066e0e78745fdbc0d4ffd79 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 15 Jan 2008 00:12:08 +0000 Subject: [PATCH] Fix Compiler warning. svn path=/trunk/boinc/; revision=14553 --- api/boinc_api.C | 11 ----------- checkin_notes | 6 ++++++ 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/api/boinc_api.C b/api/boinc_api.C index a01e41ab0a..e5d4282c9d 100644 --- a/api/boinc_api.C +++ b/api/boinc_api.C @@ -165,7 +165,6 @@ static std::vector upload_file_status; static void graphics_cleanup(); static int suspend_activities(); static int resume_activities(); -static int restore_activities(); static void boinc_exit(int); static void block_sigalrm(); static int start_worker_signals(); @@ -603,16 +602,6 @@ static int resume_activities() { return 0; } -static int restore_activities() { - int retval; - if (boinc_status.suspended) { - retval = suspend_activities(); - } else { - retval = resume_activities(); - } - return retval; -} - static void handle_heartbeat_msg() { char buf[MSG_CHANNEL_SIZE]; double dtemp; diff --git a/checkin_notes b/checkin_notes index 51db3604a9..291989182f 100644 --- a/checkin_notes +++ b/checkin_notes @@ -502,3 +502,9 @@ David Jan 14 2008 sched/ handle_request.C + +Charlie Jan 14 2008 + Fix Compiler warning. + + api/ + boinc_api.C