Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Mar 15, 2020

Description

In xfdscale, there is a tertiary statement checking if psx is not equal to 0, despite two statements ago assigning psx to 0. Such a statement is a waste.

Checklist

Be sure you've read README.md and understand the scope of this repo.

If you're unsure about a box, leave it unchecked. A maintainer will help you.

  • Identifiers in product code changes are properly _Ugly as per
    https://eel.is/c++draft/lex.name#3.1 or there are no product code changes.
  • The STL builds successfully and all tests have passed (must be manually
    verified by an STL maintainer before automated testing is enabled on GitHub,
    leave this unchecked for initial submission).
  • These changes introduce no known ABI breaks (adding members, renaming
    members, adding virtual functions, changing whether a type is an aggregate
    or trivially copyable, etc.).
  • These changes were written from scratch using only this repository,
    the C++ Working Draft (including any cited standards), other WG21 papers
    (excluding reference implementations outside of proposed standard wording),
    and LWG issues as reference material. If they were derived from a project
    that's already listed in NOTICE.txt, that's fine, but please mention it.
    If they were derived from any other project (including Boost and libc++,
    which are not yet listed in NOTICE.txt), you must mention it here,
    so we can determine whether the license is compatible and what else needs
    to be done.

@ghost ghost self-requested a review as a code owner March 15, 2020 22:48
@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Mar 15, 2020
@ghost
Copy link
Author

ghost commented Mar 16, 2020

Done @StephanTLavavej

@CaseyCarter CaseyCarter self-assigned this Mar 16, 2020
@CaseyCarter
Copy link
Contributor

Thanks for your contribution!

@CaseyCarter CaseyCarter merged commit 32deb98 into microsoft:master Mar 16, 2020
@CaseyCarter CaseyCarter removed their assignment Jun 27, 2020
StephanTLavavej added a commit to StephanTLavavej/STL that referenced this pull request Mar 22, 2021
There's some churn here, apparently caused by an issue and a PR vanishing.
The PR appears to be "Simplify _FDscale in xfdscale.cpp (microsoft#609)";
the user's account appears to have been deleted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants