fix always true warning/error
With latest gcc hit this: error: the comparison will always evaluate as 'true' for the address of 'data' will never be NULL [-Werror=address]
With latest gcc hit this: error: the comparison will always evaluate as 'true' for the address of 'data' will never be NULL [-Werror=address]