You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/06/19 20:41:34 UTC
[lucy-commits] svn commit: r1137410 - in /incubator/lucy/branches/0.1: ./
charmonizer/src/Charmonizer/Core/OperatingSystem.c
Author: marvin
Date: Sun Jun 19 18:41:34 2011
New Revision: 1137410
URL: http://svn.apache.org/viewvc?rev=1137410&view=rev
Log:
LUCY-156 Remove a redundant shadowed variable.
Modified:
incubator/lucy/branches/0.1/ (props changed)
incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/OperatingSystem.c
Propchange: incubator/lucy/branches/0.1/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sun Jun 19 18:41:34 2011
@@ -1 +1 @@
-/incubator/lucy/trunk:1134011,1134355,1134472,1134843-1134847
+/incubator/lucy/trunk:1134011,1134355,1134472,1134843-1134848
Modified: incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/OperatingSystem.c
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/OperatingSystem.c?rev=1137410&r1=1137409&r2=1137410&view=diff
==============================================================================
--- incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/OperatingSystem.c (original)
+++ incubator/lucy/branches/0.1/charmonizer/src/Charmonizer/Core/OperatingSystem.c Sun Jun 19 18:41:34 2011
@@ -144,7 +144,6 @@ static const char charm_run_code[] =
static void
S_build_charm_run(void) {
chaz_bool_t compile_succeeded = false;
- const char *dev_null = OS_dev_null();
size_t needed = sizeof(charm_run_code)
+ strlen(dev_null)
+ strlen(dev_null)