summaryrefslogtreecommitdiff
path: root/sys/modules/lua/lua.c
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-06-29 21:05:32 +0000
committerrillig <rillig@NetBSD.org>2021-06-29 21:05:32 +0000
commit69fff8d758d529f7e19813b8b3bb817b5a721102 (patch)
tree673f5c9abcdf22406825aaf5e9bbbbbbdd4a19bb /sys/modules/lua/lua.c
parentb5dcdf00a309a82135ece648962acd6a12426b35 (diff)
lint: do not modify tnode_t->tn_type in check_init_expr
This is a very small step towards having all shared type_t objects only referenced via const pointers. Since the types may be shared, it is a bad idea to try to modify them, so better let the compiler check this. It's a long way to reach this goal, but this small step is already possible. No functional change.
Diffstat (limited to 'sys/modules/lua/lua.c')
0 files changed, 0 insertions, 0 deletions