You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2012/12/05 00:27:59 UTC
[lucy-commits] [2/2] git commit: refs/heads/master - Remove unused variables
Remove unused variables
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/11a1a451
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/11a1a451
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/11a1a451
Branch: refs/heads/master
Commit: 11a1a451ef718cb29956f071acaa790d5f70677c
Parents: 99352ea
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Wed Dec 5 00:23:00 2012 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Wed Dec 5 00:23:00 2012 +0100
----------------------------------------------------------------------
charmonizer/src/Charmonizer/Probe/FuncMacro.c | 3 ---
charmonizer/src/Charmonizer/Probe/LargeFiles.c | 1 -
core/Clownfish/VTable.c | 1 -
core/Lucy/Test/Search/TestSortSpec.c | 1 -
4 files changed, 0 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/11a1a451/charmonizer/src/Charmonizer/Probe/FuncMacro.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Probe/FuncMacro.c b/charmonizer/src/Charmonizer/Probe/FuncMacro.c
index ae5cb4c..762602c 100644
--- a/charmonizer/src/Charmonizer/Probe/FuncMacro.c
+++ b/charmonizer/src/Charmonizer/Probe/FuncMacro.c
@@ -110,9 +110,6 @@ chaz_FuncMacro_probe_inline(void) {
void
chaz_FuncMacro_run(void) {
- int i;
- char *output;
- size_t output_len;
int has_funcmac = false;
int has_iso_funcmac = false;
int has_gnuc_funcmac = false;
http://git-wip-us.apache.org/repos/asf/lucy/blob/11a1a451/charmonizer/src/Charmonizer/Probe/LargeFiles.c
----------------------------------------------------------------------
diff --git a/charmonizer/src/Charmonizer/Probe/LargeFiles.c b/charmonizer/src/Charmonizer/Probe/LargeFiles.c
index 39f841a..c0e51b8 100644
--- a/charmonizer/src/Charmonizer/Probe/LargeFiles.c
+++ b/charmonizer/src/Charmonizer/Probe/LargeFiles.c
@@ -75,7 +75,6 @@ chaz_LargeFiles_probe_pread64(chaz_LargeFiles_unbuff_combo *combo);
void
chaz_LargeFiles_run(void) {
int found_off64_t = false;
- unsigned i;
const char *stat_includes = "#include <stdio.h>\n#include <sys/stat.h>";
chaz_ConfWriter_start_module("LargeFiles");
http://git-wip-us.apache.org/repos/asf/lucy/blob/11a1a451/core/Clownfish/VTable.c
----------------------------------------------------------------------
diff --git a/core/Clownfish/VTable.c b/core/Clownfish/VTable.c
index 1946a96..fc7afeb 100644
--- a/core/Clownfish/VTable.c
+++ b/core/Clownfish/VTable.c
@@ -199,7 +199,6 @@ VTable_singleton(const CharBuf *class_name, VTable *parent) {
if (num_fresh) {
Hash *meths = Hash_new(num_fresh);
CharBuf *scrunched = CB_new(0);
- ZombieCharBuf *callback_name = ZCB_BLANK();
for (uint32_t i = 0; i < num_fresh; i++) {
CharBuf *meth = (CharBuf*)VA_fetch(fresh_host_methods, i);
S_scrunch_charbuf(meth, scrunched);
http://git-wip-us.apache.org/repos/asf/lucy/blob/11a1a451/core/Lucy/Test/Search/TestSortSpec.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Search/TestSortSpec.c b/core/Lucy/Test/Search/TestSortSpec.c
index 2c9eaec..fdb9aa6 100644
--- a/core/Lucy/Test/Search/TestSortSpec.c
+++ b/core/Lucy/Test/Search/TestSortSpec.c
@@ -477,7 +477,6 @@ test_sort_spec(TestBatch *batch) {
VA_Push(wanted, INCREF(bike_cb));
VA_Push(wanted, INCREF(car_cb));
VA_Push(wanted, INCREF(airplane_cb));
- CharBuf *tmp = (CharBuf*)VA_Fetch(results, 0);
TEST_TRUE(batch, VA_Equals(results, (Obj*)wanted), "sort by one criteria");
DECREF(results);