From ea806d510cab325364948f9590d8cb0a3a10c602 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 12 Nov 2009 00:26:49 +0000 Subject: [PATCH] Remove redundant code. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31953 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Converter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Converter.cpp b/src/Converter.cpp index 86ad195cba..c8d0b11915 100644 --- a/src/Converter.cpp +++ b/src/Converter.cpp @@ -637,12 +637,12 @@ void Converters::buildGraph() { // clear graph's data structures G_.init(formats.size()); - ConverterList::iterator beg = converterlist_.begin(); - ConverterList::iterator const end = converterlist_.end(); // each of the converters knows how to convert one format to another // so, for each of them, we create an arrow on the graph, going from // the one to the other - for (ConverterList::iterator it = beg; it != end ; ++it) { + ConverterList::iterator it = converterlist_.begin(); + ConverterList::iterator const end = converterlist_.end(); + for (; it != end ; ++it) { int const from = formats.getNumber(it->from); int const to = formats.getNumber(it->to); G_.addEdge(from, to); -- 2.39.2