generator: Don't print variable unless the generator returned a value
clang warns that the generator assignment is conditional which could
lead to passing an undefined variable to printf.
Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
Showing
Please register or sign in to comment