summaryrefslogtreecommitdiff
path: root/ACE/ace/Svc_Conf.y
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-05-09 19:11:03 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-05-09 19:11:03 +0000
commitf67a36feb37dc95114b263d23e0a14b2969a183b (patch)
tree03c823356351b065626a04f8f0fb853195051735 /ACE/ace/Svc_Conf.y
parent2e8922ca78b3021ce8b5fb3c8250a8e39ab8511f (diff)
downloadATCD-f67a36feb37dc95114b263d23e0a14b2969a183b.tar.gz
Mon May 9 19:09:35 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Dump.h: * ace/FIFO.cpp: * ace/Filecache.cpp: * ace/Svc_Conf.y: * ace/Svc_Conf_y.cpp: Fixed coverity errors
Diffstat (limited to 'ACE/ace/Svc_Conf.y')
-rw-r--r--ACE/ace/Svc_Conf.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/Svc_Conf.y b/ACE/ace/Svc_Conf.y
index a2e6f4e013e..bc69dffcb3f 100644
--- a/ACE/ace/Svc_Conf.y
+++ b/ACE/ace/Svc_Conf.y
@@ -331,11 +331,10 @@ ace_get_module (ACE_Service_Type const * sr,
ACE_TCHAR const * svc_name,
int & yyerrno)
{
- ACE_Service_Type_Impl const * const type = sr->type ();
ACE_Stream_Type const * const st =
(sr == 0
? 0
- : dynamic_cast<ACE_Stream_Type const *> (type));
+ : dynamic_cast<ACE_Stream_Type const *> (sr->type ()));
ACE_Module_Type const * const mt = (st == 0 ? 0 : st->find (svc_name));
if (sr == 0 || st == 0 || mt == 0)