diff options
Diffstat (limited to 'TAO/TAO_IDL/driver/drv_args.cpp')
-rw-r--r-- | TAO/TAO_IDL/driver/drv_args.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/TAO/TAO_IDL/driver/drv_args.cpp b/TAO/TAO_IDL/driver/drv_args.cpp index 94b811bb67a..03c82030f93 100644 --- a/TAO/TAO_IDL/driver/drv_args.cpp +++ b/TAO/TAO_IDL/driver/drv_args.cpp @@ -186,7 +186,6 @@ DRV_parse_args (long ac, char **av) ACE_CString buffer; char *s = nullptr; long i; - bool has_space = false; // After -- process all arguments as files bool just_files = false; @@ -230,7 +229,6 @@ DRV_parse_args (long ac, char **av) )); idl_global->parse_args_exit (1); return; - } } else @@ -285,14 +283,9 @@ DRV_parse_args (long ac, char **av) if (i < ac - 1) { idl_global->append_idl_flag (av[i + 1]); - has_space = FE_Utils::hasspace (av[i + 1]); - // If the include path has a space, we need to - // add literal "s. ACE_CString arg = av[i]; - arg += (has_space ? "\"" : ""); arg += av[i + 1]; - arg += (has_space ? "\"" : ""); DRV_cpp_putarg (arg.c_str ()); idl_global->add_include_path (arg.substr (2).c_str (), false); @@ -305,14 +298,8 @@ DRV_parse_args (long ac, char **av) } else { - has_space = FE_Utils::hasspace (av[i]); - - // If the include path has a space, we need to - // add literal "s. ACE_CString arg (av[i], 2); - arg += (has_space ? "\"" : ""); arg += av[i] + 2; - arg += (has_space? "\"" : ""); idl_global->add_include_path (arg.substr (2).c_str (), false); DRV_cpp_putarg (arg.c_str ()); |