• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 23138458870

16 Mar 2026 10:10AM UTC coverage: 86.102% (-0.007%) from 86.109%
23138458870

push

github

grafin
datetime: fix unit test for older GCC version

This commit fixes the following error on centos 7 gcc:
```
./test/unit/datetime.c:422:10:
error: missing initializer for field ‘nsec’ of
‘struct datetime’ [-Werror=missing-field-initializers]
struct datetime date = { 0 };
```

The fix is using full struct initialization:
`struct datetime date = { 0, 0, 0, 0 };`
Instead of:
`struct datetime date = { 0 };`

NO_CHANGELOG=test fix for CI
NO_DOC=test fix for CI

63664 of 115134 branches covered (55.3%)

94648 of 109925 relevant lines covered (86.1%)

1898545.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.85
/src/box/lua/init.c


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc