primitives: return value to fix compiler warning
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP