diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2011-05-09 19:11:03 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2011-05-09 19:11:03 +0000 |
commit | f67a36feb37dc95114b263d23e0a14b2969a183b (patch) | |
tree | 03c823356351b065626a04f8f0fb853195051735 /ACE/ace/Svc_Conf_y.cpp | |
parent | 2e8922ca78b3021ce8b5fb3c8250a8e39ab8511f (diff) | |
download | ATCD-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.cpp')
-rw-r--r-- | ACE/ace/Svc_Conf_y.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/Svc_Conf_y.cpp b/ACE/ace/Svc_Conf_y.cpp index 0d3cb916238..077d0c8ebf4 100644 --- a/ACE/ace/Svc_Conf_y.cpp +++ b/ACE/ace/Svc_Conf_y.cpp @@ -1955,11 +1955,10 @@ ace_get_module (ACE_Service_Type const * sr, ACE_TCHAR const * svc_name, int & ace_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) |