format update by using astyle
Merge pull request #899 from ruil2/enc_warnings

format update by using astyle