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

TokTok / toxcore / 544
74%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2016 09:03AM UTC
Jobs 1
Files 85
Run time 79min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
544

push

travis-ci

iphydf
Improve static and const correctness.

- Any non-externally-visible declarations should be `static`.
- Casting away the `const` qualifier from pointers-to-const is
  dangerous. All but one instance of this are now correct. The one
  instance where we can't keep `const` is one where toxav code actually
  writes to a chunk of memory marked as `const`. This code also assumes
  4 byte alignment of data packets. I don't know whether that is a valid
  assumption, but it's likely unportable, and *not* obviously correct.
- Replaced empty parameter lists with `(void)` to avoid passing
  parameters to it. Empty parameter lists are old style declarations for
  unknown number and type of arguments.
- Commented out (as `#if DHT_HARDENING` block) the hardening code that
  was never executed.
- Minor style fix: don't use `default` in enum-switches unless the number
  of enumerators in the default case is very large. In this case, it was
  2, so we want to list them both explicitly to be warned about missing
  one if we add one in the future.
- Removed the only two function declarations from nTox.h and put them
  into nTox.c. They are not used outside and nTox is not a library.

8485 of 11703 relevant lines covered (72.5%)

718833.44 hits per line

Jobs
ID Job ID Ran Files Coverage
2 544.2 (BUILD=toxcore ENV=linux) 07 Sep 2016 10:22AM UTC 0
72.5
Travis Job 544.2
Source Files on build 544
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #544
  • ad265605 on github
  • Prev Build on master (#540)
  • Next Build on master (#558)
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