From: Richard Heck Date: Thu, 12 Nov 2009 00:26:49 +0000 (+0000) Subject: Remove redundant code. X-Git-Tag: 2.0.0~5171 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ea806d510cab325364948f9590d8cb0a3a10c602;p=features.git Remove redundant code. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31953 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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);