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

compiler warnings #2164

Closed
matthiaskrgr opened this issue Nov 3, 2017 · 0 comments
Closed

compiler warnings #2164

matthiaskrgr opened this issue Nov 3, 2017 · 0 comments
Labels
Bug Issues involving unexpected behavior.

Comments

@matthiaskrgr
Copy link
Contributor

These warnings appeared today when using clang

[ 18%/13/1/72,90.988] Building CXX object src/CMakeFiles/wesnoth-game.dir/utils/irdya_datetime.cpp.o
In file included from ../src/utils/irdya_datetime.cpp:14:
../src/utils/irdya_datetime.hpp:60:25: warning: private field 'month' is not used [-Wunused-private-field]
        unsigned int year = 0, month = 0, day = 0;
                               ^
../src/utils/irdya_datetime.hpp:60:36: warning: private field 'day' is not used [-Wunused-private-field]
        unsigned int year = 0, month = 0, day = 0;
                                          ^
2 warnings generated.
@Vultraz Vultraz closed this as completed in 237b7a0 Nov 3, 2017
@CelticMinstrel CelticMinstrel added the Bug Issues involving unexpected behavior. label Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues involving unexpected behavior.
Projects
None yet
Development

No branches or pull requests

2 participants