Skip to content

Commit

Permalink
Silence -Wunused-private-field warnings on Clang (fixes #2164)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Nov 3, 2017
1 parent 99ddd7b commit 237b7a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/irdya_datetime.hpp
Expand Up @@ -56,8 +56,11 @@ class irdya_date
private:
EPOCH epoch;

unsigned int year = 0;

// TODO: Decide how many months and days there are!
unsigned int year = 0, month = 0, day = 0;
//unsigned int month = 0;
//unsigned int day = 0;
};

bool operator<(const irdya_date& a, const irdya_date& b);
Expand Down

0 comments on commit 237b7a0

Please sign in to comment.