Clear compiler warning on gcc

For some reason `*s++ =` yields this:
`warning: operation on ‘s’ may be undefined`