Repository: lucy Updated Branches: refs/heads/master d6fcd5fb4 -> 85ca41bec
Remove useless code from SegWriter.c Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/85ca41be Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/85ca41be Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/85ca41be Branch: refs/heads/master Commit: 85ca41becddfc4a47c684b7b74e3cc51fe2cf688 Parents: d6fcd5f Author: Nick Wellnhofer <wellnho...@aevum.de> Authored: Fri Feb 17 01:29:58 2017 +0100 Committer: Nick Wellnhofer <wellnho...@aevum.de> Committed: Fri Feb 17 01:29:58 2017 +0100 ---------------------------------------------------------------------- core/Lucy/Index/SegWriter.c | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/85ca41be/core/Lucy/Index/SegWriter.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/SegWriter.c b/core/Lucy/Index/SegWriter.c index 1e2ec28..dd29dbf 100644 --- a/core/Lucy/Index/SegWriter.c +++ b/core/Lucy/Index/SegWriter.c @@ -204,10 +204,8 @@ SegWriter_Finish_IMP(SegWriter *self) { // Write segment metadata and add the segment directory to the snapshot. Snapshot *snapshot = SegWriter_Get_Snapshot(self); - String *segmeta_filename = Str_newf("%o/segmeta.json", seg_name); Seg_Write_File(ivars->segment, ivars->folder); Snapshot_Add_Entry(snapshot, seg_name); - DECREF(segmeta_filename); // Collapse segment files into compound file. Folder_Consolidate(ivars->folder, seg_name);