Skip to content

Commit 0815cf2

Browse files
committed
sexpr: comment why cons compaction cannot assert in sym cast
Signed-off-by: Josef 'Jeff' Sipek <[email protected]>
1 parent db0a551 commit 0815cf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sexpr_compact.c

+1
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ static struct val *sexpr_compact_cons_nvl(struct val *in)
228228
struct val *value = cur->cons.tail;
229229
struct nvpair new;
230230

231+
/* NOTE: what_is_it already verified that we have a str/sym */
231232
if (name->type == VT_STR)
232233
new.name = val_getref_str(name);
233234
else

0 commit comments

Comments
 (0)