Skip to content

Commit 8498b25

Browse files
committed
Shut off a coverity complain about the unintialized var
1 parent 7357ff0 commit 8498b25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/t-gob.c

+2
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ const REBCNT Gob_Flag_Words[] = {
750750
gob = VAL_GOB(val);
751751
index = VAL_GOB_INDEX(val);
752752
tail = GOB_PANE(gob) ? GOB_TAIL(gob) : 0;
753+
} else if (!(IS_DATATYPE(val) && action == A_MAKE)){
754+
Trap_Arg(val);
753755
}
754756

755757
// unary actions

0 commit comments

Comments
 (0)