diff options
author | 2016-01-26 07:55:47 +0000 | |
---|---|---|
committer | 2016-01-26 07:55:47 +0000 | |
commit | 13aede6bf9111c274e03d276b5625b1481de1a73 (patch) | |
tree | 5dfbc190c762092f70f67cb7f71977d312a90ee6 /lib/libc/stdio/fputwc.c | |
parent | Simplify logic of read_partition_map(), junking retries with various sizes (diff) | |
download | wireguard-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