From: Mikko Rasa Date: Fri, 20 Feb 2015 09:54:15 +0000 (+0200) Subject: Cosmetic fixes X-Git-Url: http://git.tdb.fi/?p=r2c2.git;a=commitdiff_plain;h=3dfcd6a470a96dc7b6f2f100e604c7f0db6da00c Cosmetic fixes --- diff --git a/source/libr2c2/arducontrol.cpp b/source/libr2c2/arducontrol.cpp index 8446294..0edb3dd 100644 --- a/source/libr2c2/arducontrol.cpp +++ b/source/libr2c2/arducontrol.cpp @@ -853,7 +853,7 @@ void ArduControl::RefreshTask::advance() ++next; if(next==cycle.end()) { - next= cycle.begin(); + next = cycle.begin(); ++round; } } diff --git a/source/libr2c2/intellibox.cpp b/source/libr2c2/intellibox.cpp index c2e5d75..3f3edf2 100644 --- a/source/libr2c2/intellibox.cpp +++ b/source/libr2c2/intellibox.cpp @@ -1,6 +1,3 @@ -#include -#include -#include #include #include #include diff --git a/source/libr2c2/track.cpp b/source/libr2c2/track.cpp index 0411f15..b53342c 100644 --- a/source/libr2c2/track.cpp +++ b/source/libr2c2/track.cpp @@ -55,7 +55,6 @@ Track::Track(Layout &l, const TrackType &t): layout.add(*this); - for(unsigned paths = type.get_paths(); !(paths&1); ++active_path, paths>>=1) ; }