The return value of the push*
helpers is never used, but important to determine if the operation was successful. One way to fix this would be to add the “nodiscard” attribute. However, this would make the code (and this diff) overly verbose for no reason.
So fix it by removing the never used return value. Also, fail verbosely in case of a programming mistake.