bitshares / bitshares1-core

Software to run the old chain (before 2015-10-13). Code for current chain is https://github.com/bitshares/bitshares-core
https://bitshares.org/
The Unlicense
219 stars 174 forks source link

fix travis build and use clang static analyzer #1528

Closed maqifrnswa closed 9 years ago

maqifrnswa commented 9 years ago

Get output such as: https://travis-ci.org/maqifrnswa/bitshares/builds/60975082 (just sign in to travis with an id of someone in the bitshares org and set it up)

only for the develop branch, can be used to check pull requests and to find bugs since it uses the clang static analyzer. Currently 20 issues found, mostly with variables not using their initialized values or dereferencing null pointers. Using clang instead of gcc since you'll see some different warnings than gcc, could be helpful heading off bugs.