commit | 6e4be957f79b67c117220b39a663c0319dec6b2d | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Tue Apr 16 13:12:28 2024 -0600 |
committer | Tom Tromey <tom@tromey.com> | Sun Apr 21 12:33:56 2024 -0600 |
tree | 13b60fe4be599e69f1dc2320fe3217af9d66a139 | |
parent | e6375bc8ebbbc177c79f08e9616eb0b131229f65 [diff] |
Remove a couple of VLAs I found a couple of spots where VLAs are in use but where they can easily be removed. In one spot, adding 'const' is enough -- and is already done in similar code elsewhere in the file. In another spot, one of two arrays will be used, so making the buffer large enough for both works. Approved-By: John Baldwin <jhb@FreeBSD.org>