diff options
author | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-05-20 13:10:34 +0000 |
---|---|---|
committer | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-05-20 13:10:34 +0000 |
commit | 8b20120446d4dda298f9d70950ee141d9b8b846a (patch) | |
tree | 99130d1ee7cad7da8cac6b5dae925125cba3e3ca /TAO/tao/params.cpp | |
parent | 87e7c6bfa850de62554a9afde5b595b10d589d28 (diff) | |
download | ATCD-8b20120446d4dda298f9d70950ee141d9b8b846a.tar.gz |
Mon May 20 13:10:00 UTC 2013 Simon Massey <simon dot massey at prismtech dot com>
Remove dead code and unused state variable (expect_char).
Diffstat (limited to 'TAO/tao/params.cpp')
-rw-r--r-- | TAO/tao/params.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/TAO/tao/params.cpp b/TAO/tao/params.cpp index 4eaa9a473c9..e7fcf66c13e 100644 --- a/TAO/tao/params.cpp +++ b/TAO/tao/params.cpp @@ -226,7 +226,6 @@ TAO_ORB_Parameters::check_preferred_interfaces_string (const char *s) // treated as wildcards. bool expect_assign = false; bool expect_comma = false; - bool expect_char = true; bool expect_wild = true; bool found_remote = false; @@ -242,7 +241,6 @@ TAO_ORB_Parameters::check_preferred_interfaces_string (const char *s) return false; found_remote = true; expect_assign = false; - expect_char = true; expect_comma = false; expect_wild = true; break; @@ -252,7 +250,6 @@ TAO_ORB_Parameters::check_preferred_interfaces_string (const char *s) return false; found_remote = false; expect_assign = false; - expect_char = true; expect_comma = false; expect_wild = true; break; @@ -262,16 +259,12 @@ TAO_ORB_Parameters::check_preferred_interfaces_string (const char *s) if (!expect_wild) return false; expect_assign = !found_remote; - expect_char = true; expect_comma = found_remote; expect_wild = false; break; default: - if (!expect_char) - return false; expect_assign = !found_remote; - expect_char = true; expect_comma = found_remote; expect_wild = true; break; |