lbrycrd/src/script
MarcoFalke f87d0a9d75
Merge #13534: Don't assert(foo()) where foo() has side effects
6ad0328f1c Don't assert(foo()) where foo has side effects (practicalswift)

Pull request description:

  Don't `assert(foo())` where `foo` has side effects.

  From `assert(3)`:

  > If the macro `NDEBUG` is defined at the moment `<assert.h>` was last included, the macro `assert()` generates no code, and hence does nothing at all.

  Bitcoin currently cannot be compiled without assertions, but we shouldn't rely on that.

Tree-SHA512: 28cff0c6d1c2fb612ca58c9c94142ed01c5cfd0a2fecb8e59cdb6c270374b215d952ed3491d921d84dc1b439fa49da4f0e75e080f6adcbc6b0e08be14e54c170
2018-08-13 10:02:50 -04:00
..
bitcoinconsensus.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
bitcoinconsensus.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
descriptor.cpp Support h instead of ' in hardened descriptor paths 2018-07-27 12:21:12 -07:00
descriptor.h Support h instead of ' in hardened descriptor paths 2018-07-27 12:21:12 -07:00
interpreter.cpp Merge #13780: 0.17: Pre-branch maintenance 2018-08-08 13:55:27 +02:00
interpreter.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
ismine.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
ismine.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
script.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
script.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
script_error.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
script_error.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
sigcache.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
sigcache.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
sign.cpp Merge #13534: Don't assert(foo()) where foo() has side effects 2018-08-13 10:02:50 -04:00
sign.h Merge #13666: Always create signatures with Low R values 2018-08-13 12:07:20 +02:00
standard.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
standard.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00