Your checker is informing you that sizeof(day)
and sizeof(people)
are known at compile time, and so the conditional will always take one branch, and never the other.
As an alternative to suppressing the warning on your tool, you can modify your code to use a conditional preprocessor directive to make the taken branch explicit.
#if (NUM_DAYS > NUM_PEOPLE)
#define SIZE sizeof(day)
#else
#define SIZE sizeof(people)
#endif
size = SIZE;