Add attribute [[noreturn]] (C++11) to functions that will not return
commitb82c55af78738258b56bd8fe7b5f8d5ccf85f832
authorpracticalswift <practicalswift@users.noreply.github.com>
Sun, 16 Jul 2017 12:56:43 +0000 (16 14:56 +0200)
committerpracticalswift <practicalswift@users.noreply.github.com>
Mon, 17 Jul 2017 16:46:18 +0000 (17 18:46 +0200)
treed2d0e2d5c533bd9ff6a6ddf4ef5cce5ff8b9161c
parent5cfdda2503c995cdd563b1a2a29162ac298d173d
Add attribute [[noreturn]] (C++11) to functions that will not return

Rationale:
* Reduce the number of false positives from static analyzers
* Potentially enable additional compiler optimizations
src/random.cpp
src/test/test_bitcoin_main.cpp