Remove unnecessary vars in StringCharBuffer
Merge pull request #1372 from gzm0/cleanup

Remove unnecessary vars in StringCharBuffer