[mythtv-firehose] mythtv/master commit: 510346032 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Tue Oct 18 19:23:56 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-10-18T12:21:11-07:00
   Push Date:  2011/10/18 12:23:19 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  51034603238247c44750b897e93861acfb606f4d
   Changeset:  https://github.com/MythTV/mythtv/commit/510346032

Log:

Change iterator++ to ++iterator (cppcheck)

As iterators are non-primitive types, it's actually preferrable to use
pre-increment rather than post-increment.  Additionally, collapsed a while
loop to a for loop to match the vast majority of iterator loops in the
surrounding code.

Modified:

   mythtv/libs/libmythbase/mythcommandlineparser.cpp



More information about the mythtv-firehose mailing list