lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [5/5] git commit: Remove redundant processing.
Date Wed, 15 Oct 2014 02:28:35 GMT
Remove redundant processing.


Project: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/commit/55a6c5b0
Tree: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/tree/55a6c5b0
Diff: http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/diff/55a6c5b0

Branch: refs/heads/generic_cli
Commit: 55a6c5b07963411edf0d41975c8824dd1bf85349
Parents: 28b930e
Author: Marvin Humphrey <marvin@rectangular.com>
Authored: Thu Oct 9 18:48:05 2014 -0700
Committer: Marvin Humphrey <marvin@rectangular.com>
Committed: Tue Oct 14 17:48:58 2014 -0700

----------------------------------------------------------------------
 src/Charmonizer/Probe.c | 18 ------------------
 1 file changed, 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-charmonizer/blob/55a6c5b0/src/Charmonizer/Probe.c
----------------------------------------------------------------------
diff --git a/src/Charmonizer/Probe.c b/src/Charmonizer/Probe.c
index cdd8042..6fb2c09 100644
--- a/src/Charmonizer/Probe.c
+++ b/src/Charmonizer/Probe.c
@@ -45,7 +45,6 @@ chaz_Probe_parse_cli_args(int argc, const char *argv[], chaz_CLI *cli) {
     chaz_CLI_register(cli, "enable-coverage", NULL, CHAZ_CLI_NO_ARG);
     chaz_CLI_register(cli, "cc", "compiler command", CHAZ_CLI_ARG_REQUIRED);
     chaz_CLI_register(cli, "cflags", NULL, CHAZ_CLI_ARG_REQUIRED);
-    chaz_CLI_register(cli, "verbosity", NULL, CHAZ_CLI_ARG_REQUIRED);
 
     /* Parse options, exiting on failure. */
     if (!chaz_CLI_parse(cli, argc, argv)) {
@@ -99,26 +98,9 @@ chaz_Probe_parse_cli_args(int argc, const char *argv[], chaz_CLI *cli)
{
         free(cc);
     }
 
-    /* Process CHARM_VERBOSITY environment variable. */
-    {
-        const char *verbosity_env = getenv("CHARM_VERBOSITY");
-        if (verbosity_env && strlen(verbosity_env)) {
-            chaz_CLI_set(cli, "verbosity", verbosity_env);
-        }
-    }
-
-    if (chaz_CLI_defined(cli, "enable-c")
-        || chaz_CLI_defined(cli, "enable-perl")
-        || chaz_CLI_defined(cli, "enable-python")
-        || chaz_CLI_defined(cli, "enable-ruby")
-       ) {
-        output_enabled = 1;
-    }
-
     /* Validate. */
     if (!chaz_CLI_defined(cli, "cc")
         || !strlen(chaz_CLI_strval(cli, "cc"))
-        || !output_enabled
        ) {
         return false;
     }


Mime
View raw message