]> sourceware.org Git - systemtap.git/commitdiff
remove unused lex_cast()-ed args
authorAbegail Jakop <ajakop@redhat.com>
Wed, 12 Aug 2015 21:00:38 +0000 (17:00 -0400)
committerAbegail Jakop <ajakop@redhat.com>
Tue, 18 Aug 2015 17:24:16 +0000 (13:24 -0400)
session.cxx
session.h

index 7c7975ee6a0f149d9c1a8ecde58d498ee098db0a..55f8e184b2de155cbccee26660aa7894a19c9e57 100644 (file)
@@ -373,7 +373,6 @@ systemtap_session::systemtap_session (const systemtap_session& other,
   additional_scripts = other.additional_scripts;
   c_macros = other.c_macros;
   args = other.args;
-  qstring_args = other.qstring_args;
   kbuildflags = other.kbuildflags;
 
   globalopts = other.globalopts;
@@ -1496,13 +1495,8 @@ systemtap_session::check_options (int argc, char * const argv [])
           have_script = true;
         }
       else
-        {
-          args.push_back (string (argv[i]));
-          qstring_args.push_back(lex_cast_qstring(argv[i]));
-        }
+        args.push_back (string (argv[i]));
     }
-  num_args = lex_cast(args.size ());
-  qstring_num_args = lex_cast_qstring(args.size());
 
   // We don't need a script with --list-servers, --trust-servers, or any dump mode
   bool need_script = server_status_strings.empty () &&
index 09fd7f65ede6aac8d9c1916e5d9b3f015eac7bf8..059a7eedab484eae9d0f80876097179493fd0bbf 100644 (file)
--- a/session.h
+++ b/session.h
@@ -156,10 +156,7 @@ public:
   std::vector<std::string> include_path;
   int include_arg_start;
   std::vector<std::string> c_macros;
-  std::string num_args;
-  std::string qstring_num_args;
   std::vector<std::string> args;
-  std::vector<std::string> qstring_args;
   std::vector<std::string> kbuildflags; // -B var=val
   std::vector<std::string> globalopts; // -G var=val
   std::vector<std::string> modinfos; // --modinfo tag=value
This page took 0.034492 seconds and 5 git commands to generate.