Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDWindow: Fix known condition true/false #990

Merged

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented May 29, 2022

値が既知の条件があるとcppcheck 2.8に指摘されたため修正します。

src/skeleton/window.cpp:621:17: style: Condition '!is_maximized_win()' is always true [knownConditionTrueFalse]
            if( ! is_maximized_win() && ! is_iconified_win() && get_window() ) set_win_pos();
                ^

関連のpull request: #988

値が既知の条件があるとcppcheck 2.8に指摘されたため修正します。

```
src/skeleton/window.cpp:621:17: style: Condition '!is_maximized_win()' is always true [knownConditionTrueFalse]
            if( ! is_maximized_win() && ! is_iconified_win() && get_window() ) set_win_pos();
                ^
```
@ma8ma ma8ma added the refactoring コードの整理 (バグ修正でも機能変更でもない) label May 29, 2022
@ma8ma ma8ma merged commit 82572d3 into JDimproved:master May 29, 2022
@ma8ma ma8ma deleted the jdwindow-fix-known-condition-true-false branch May 29, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring コードの整理 (バグ修正でも機能変更でもない)
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant