remove warning compilation

remove warning: ‘ret’ may be used uninitialized in this function
Merge pull request #46 from fabriziopicconi/patch-8

remove warning compilation