summaryrefslogtreecommitdiff
path: root/ACE/ace/Svc_Conf_y.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Svc_Conf_y.cpp')
-rw-r--r--ACE/ace/Svc_Conf_y.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/ACE/ace/Svc_Conf_y.cpp b/ACE/ace/Svc_Conf_y.cpp
index 44a2d1ae148..077d0c8ebf4 100644
--- a/ACE/ace/Svc_Conf_y.cpp
+++ b/ACE/ace/Svc_Conf_y.cpp
@@ -1,3 +1,4 @@
+// $Id$
/* A Bison parser, made by GNU Bison 2.3. */
/* Skeleton implementation for Bison's Yacc-like parsers in C
@@ -115,9 +116,6 @@
#include "ace/Service_Types.h"
#include "ace/ace_wchar.h"
-ACE_RCSID (ace,
- Svc_Conf_y,
- "$Id$")
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -1957,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)