Skip to content
  • Timothy B. Terriberry's avatar
    Replace return code checks with OP_ALWAYS_TRUE(). · 4b70af03
    Timothy B. Terriberry authored
    Instead of assigning the return code to a local variable and then
     using OP_ASSERT(), define a new OP_ALWAYS_TRUE() macro that still
     evaluates its argument when assertions are disabled.
    This avoids -Wunused-but-set-variable warnings from clang and
     useless scan-build reports (if scan-build is run without
     assertions enabled).
    4b70af03