From 85b0ec64cc187a220adf748b88f356ea2708147e Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 20 Aug 2008 22:19:54 +0000 Subject: [PATCH] lib: remove unused variable char cmd_esc[1024] svn path=/trunk/boinc/; revision=15913 --- checkin_notes | 6 ++++++ lib/filesys.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 0cf23f9980..bd02d7c793 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6935,3 +6935,9 @@ David 20 Aug 2008 create_forums.php user/ team_search.php + +Charlie 20 Aug 2008 + - lib: remove unused variable char cmd_esc[1024]. + + lib/ + filesys.C diff --git a/lib/filesys.C b/lib/filesys.C index 2b283e31c3..3fd482b9e3 100644 --- a/lib/filesys.C +++ b/lib/filesys.C @@ -496,7 +496,7 @@ int boinc_copy(const char* orig, const char* newf) { sprintf(cmd, "copy \"%s\" \"%s\"", orig, newf); return system(cmd); #else - char cmd[1024], cmd_esc[1024]; + char cmd[1024]; sprintf(cmd, "cp \"%s\" \"%s\"", orig, newf); return system(cmd); #endif