Skip to content

Commit

Permalink
Fix another shadowed variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Apr 3, 2023
1 parent ff4314e commit b7ca050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asio/include/asio/detail/impl/descriptor_ops.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ bool set_internal_non_blocking(int d, state_type& state,
# if defined(ENOTTY)
if (ec.value() == ENOTTY)
{
int result = ::fcntl(d, F_GETFL, 0);
result = ::fcntl(d, F_GETFL, 0);
get_last_error(ec, result < 0);
if (result >= 0)
{
Expand Down

0 comments on commit b7ca050

Please sign in to comment.