fix the undefined problem
Merge pull request #11 from wangbin579/master

'size' declared without an initial value