Skip to content

Commit a8d0b2d

Browse files
committed
Fixed build warnings for clang.
1 parent ed104c7 commit a8d0b2d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

storage/perfschema/pfs_timer.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ static ulonglong tick_to_pico; /* 1e10 at 100 Hz, 1.666e10 at 60 Hz */
4848
/* Indexed by enum enum_timer_name */
4949
static struct time_normalizer
5050
to_pico_data[FIRST_TIMER_NAME + COUNT_TIMER_NAME] = {
51-
{0, 0}, /* pico (identity) */
52-
{0, 0}, /* cycle */
53-
{0, 0}, /* nanosec */
54-
{0, 0}, /* microsec */
55-
{0, 0}, /* millisec */
56-
{0, 0} /* tick */
51+
{0, 0, {0}}, /* pico (identity) */
52+
{0, 0, {0}}, /* cycle */
53+
{0, 0, {0}}, /* nanosec */
54+
{0, 0, {0}}, /* microsec */
55+
{0, 0, {0}}, /* millisec */
56+
{0, 0, {0}} /* tick */
5757
};
5858

5959
static inline ulong

0 commit comments

Comments
 (0)