From: Michael Wallner Date: Mon, 16 Apr 2018 13:22:00 +0000 (+0200) Subject: cover null default val X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f090ccb51eb2ecc92a6cca8325c77d688cbbb61d;p=m6w6%2Fext-psi cover null default val --- diff --git a/src/types/impl_def_val.c b/src/types/impl_def_val.c index c6778f9..c5bf744 100644 --- a/src/types/impl_def_val.c +++ b/src/types/impl_def_val.c @@ -163,6 +163,9 @@ bool psi_impl_def_val_validate(struct psi_data *data, void psi_impl_def_val_dump(int fd, struct psi_impl_def_val *val) { switch (val->type) { + case PSI_T_NULL: + dprintf(fd, "NULL"); + break; case PSI_T_TRUE: dprintf(fd, "true"); break;