summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/files.usb
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2019-12-17 09:43:00 +0000
committerkn <kn@openbsd.org>2019-12-17 09:43:00 +0000
commit4a2cfa82427b28530c63909a5d7acfe524aae473 (patch)
tree4ce0be357fc8d6cba2c961bf8a767337d4abd7ac /sys/dev/usb/files.usb
parentAdd code to parse DDR4 and LPDDR3/4 SPD memories. (diff)
downloadwireguard-openbsd-4a2cfa82427b28530c63909a5d7acfe524aae473.tar.xz
wireguard-openbsd-4a2cfa82427b28530c63909a5d7acfe524aae473.zip
Use local variable isntead of function parameter
The parse_size() wrapper around scan_scaled(3) writes its intermediate result to the function argument which is always passed as literal zero. This seems odd, the function parameter has no meaning but merely serves as storage, so let's use a proper function scoped variable instead. OK pd
Diffstat (limited to 'sys/dev/usb/files.usb')
0 files changed, 0 insertions, 0 deletions