From 78457863989c40c7dbc92d6ab75775333c2a5f1f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 2 Nov 2014 21:52:41 -0500 Subject: [PATCH] Context - Removed unused ::program member. --- src/Context.cpp | 3 --- src/Context.h | 1 - 2 files changed, 4 deletions(-) diff --git a/src/Context.cpp b/src/Context.cpp index 7f13ea2df..86fa08882 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -134,9 +134,6 @@ int Context::initialize (int argc, const char** argv) // The parser needs all the help it can get. setupEntities (); - // Initialize the command line parser. - program = (argc ? argv[0] : "task"); - // Scan command line for 'rc:' only. cli.initialize (argc, argv); // task arg0 arg1 ... cli.getOverride (home_dir, rc_file); // <-- diff --git a/src/Context.h b/src/Context.h index 68bd3d4e9..0d1fd5c72 100644 --- a/src/Context.h +++ b/src/Context.h @@ -83,7 +83,6 @@ private: void propagateDebug (); public: - std::string program; CLI cli; std::string home_dir; File rc_file;