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/12 02:29:04 UTC
[lucy-commits] svn commit: r1134848 -
/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c
Author: marvin
Date: Sun Jun 12 00:29:03 2011
New Revision: 1134848
URL: http://svn.apache.org/viewvc?rev=1134848&view=rev
Log:
LUCY-156 Remove a redundant shadowed variable.
Modified:
incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c
Modified: incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c?rev=1134848&r1=1134847&r2=1134848&view=diff
==============================================================================
--- incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c (original)
+++ incubator/lucy/trunk/charmonizer/src/Charmonizer/Core/OperatingSystem.c Sun Jun 12 00:29:03 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)