opencog/opencog — pull request #1167 by serval2412 (2014-12-28 14:02:55+00:00)
Title: Fix cppcheck reports "Prefer prefix ++/-- operators for non-primitive ty...

...pes"
I used these scripts:
for i in `grep Prefer cppcheck_reports.txt|sed 's/\[\(.*\)\].*/\1/'`;do var1=`echo $i|cut -d: -f1`;var2=`echo $i|cut -d: -f2`;sed -i -e "${var2}s/\([a-zA-Z._]*\)\(\+\+\)/\2\1/g" $var1;done;

for i in `grep Prefer cppcheck_reports.txt|sed 's/\[\(.*\)\].*/\1/'`;do var1=`echo $i|cut -d: -f1`;var2=`echo $i|cut -d: -f2`;sed -i -e "${var2}s/\([a-zA-Z._]*\)\(\-\-\)/\2\1/g" $var1;done;

+ fixed some problems with end of lines.

Then I built the whole project as a basic check, no error.