Fix undefined variable notice

Signed-off-by: Marc Delisle <marc@infomarc.info>