summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fputwc.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2016-01-26 07:55:47 +0000
committerreyk <reyk@openbsd.org>2016-01-26 07:55:47 +0000
commit13aede6bf9111c274e03d276b5625b1481de1a73 (patch)
tree5dfbc190c762092f70f67cb7f71977d312a90ee6 /lib/libc/stdio/fputwc.c
parentSimplify logic of read_partition_map(), junking retries with various sizes (diff)
downloadwireguard-openbsd-13aede6bf9111c274e03d276b5625b1481de1a73.tar.xz
wireguard-openbsd-13aede6bf9111c274e03d276b5625b1481de1a73.zip
The division "res->size /= 1024 / 1024" is a no-op: 1024 / 1024 is
evaluated first, resulting in res->size /= 1. Remove the division and the following check, as it can never fail; it is a left-over from previous code that didn't check the size in the caller. From Martin Natano OK mlarkin@
Diffstat (limited to 'lib/libc/stdio/fputwc.c')
0 files changed, 0 insertions, 0 deletions