El valor nulo no ignorado como debería ser

you're trying to capture the return value of a function for which the return type is void.
Poised Peacock