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

ImgLoader: Fix member initialization #247

Merged
merged 1 commit into from Apr 23, 2020

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Apr 23, 2020

メンバ変数の初期化を変更してcppcheckの警告 (warning) Member variable 'ImgLoader::m_loadlevel' is not initialized in the constructor. を修正します。

[src/jdlib/imgloader.cpp:18]: (warning) Member variable 'ImgLoader::m_loadlevel' is not initialized in the constructor.

関連のpull request: #208

メンバ変数の初期化を変更してcppcheckの警告
(warning) Member variable 'ImgLoader::m_loadlevel' is not initialized
in the constructor. を修正する。

[src/jdlib/imgloader.cpp:18]: (warning) Member variable 'ImgLoader::m_loadlevel' is not initialized in the constructor.
@ma8ma ma8ma added the bug バグの追跡 label Apr 23, 2020
@ma8ma ma8ma added this to In progress in State of JDim-v0.3.0+ via automation Apr 23, 2020

bool m_stop{};
int m_y{};
int m_loadlevel{};
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#241 (review) と同じくm_loadlevelはscoped enumを使ったほうが良いですが今はcppcheckの警告修正を優先します。

@ma8ma ma8ma merged commit e85a236 into JDimproved:master Apr 23, 2020
State of JDim-v0.3.0+ automation moved this from In progress to Done Apr 23, 2020
@ma8ma ma8ma deleted the imgloader-fix-member-initialization branch April 23, 2020 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug バグの追跡
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant