Prevent two theoretical null-pointer-dereferences in gen/util.c

This was found using static analysis and is not a security issue given
this is in the generating code, so no runtime-affection. The worst that
could've happened beforehand is that the generating code segfaults and
produces garbage tables which would lead to compilation failure.

Signed-off-by: Laslo Hunhold <dev@frign.de>
1 file changed