summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumpf <kumpf>2006-08-04 18:58:08 +0000
committerkumpf <kumpf>2006-08-04 18:58:08 +0000
commiteebaa1ec52c94bee6edeeeb17aa66a5ffe759765 (patch)
treefdc9abc89951be557615589c1ffc1cee0b75f672
parente41fab34cc18f681620798c4d35487ccccd6bc7c (diff)
downloadtog-pegasus-TASK_BUG_5314_IPC_REFACTORING_BRANCH.zip
tog-pegasus-TASK_BUG_5314_IPC_REFACTORING_BRANCH.tar.gz
tog-pegasus-TASK_BUG_5314_IPC_REFACTORING_BRANCH.tar.xz
TITLE: IPC Refactoring DESCRIPTION: Removed an unnecessary assignment statement.
-rw-r--r--src/Pegasus/Common/ReadWriteSem.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Pegasus/Common/ReadWriteSem.cpp b/src/Pegasus/Common/ReadWriteSem.cpp
index f8a98f8..6383447 100644
--- a/src/Pegasus/Common/ReadWriteSem.cpp
+++ b/src/Pegasus/Common/ReadWriteSem.cpp
@@ -257,10 +257,9 @@ ReadWriteSem::~ReadWriteSem()
{
_rwlock._internal_lock.lock();
}
- catch(Deadlock & d)
+ catch(Deadlock &)
{
- d = d; // no problem - we own the lock, which is
- // what we want
+ // no problem - we own the lock, which is what we want
}
catch(IPCException &)
{