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

DrawAreaBase: Get rid of variable assignments which never used #997

Merged
merged 1 commit into from Jun 11, 2022

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Jun 11, 2022

代入した値を使ってないとcppcheck 2.8に指摘されたため代入を取り除きます。

src/article/drawareabase.cpp:2735:24: style: Variable 'n_byte' is assigned a value that is never used. [unreadVariable]
                n_byte = 0;
                       ^
src/article/drawareabase.cpp:2740:28: style: Variable 'n_byte' is assigned a value that is never used. [unreadVariable]
                    n_byte += byte_char;
                           ^

関連のpull request: #988

代入した値を使ってないとcppcheck 2.8に指摘されたため代入を取り除きます。

```
src/article/drawareabase.cpp:2735:24: style: Variable 'n_byte' is assigned a value that is never used. [unreadVariable]
                n_byte = 0;
                       ^
src/article/drawareabase.cpp:2740:28: style: Variable 'n_byte' is assigned a value that is never used. [unreadVariable]
                    n_byte += byte_char;
                           ^
```
@ma8ma ma8ma added the refactoring コードの整理 (バグ修正でも機能変更でもない) label Jun 11, 2022
@ma8ma ma8ma merged commit 096ac33 into JDimproved:master Jun 11, 2022
@ma8ma ma8ma deleted the drawareabase-get-rid-of-var-assign branch June 11, 2022 12:59
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