Skip to content
  • Davi Arnaut's avatar
    560ee215
    Bug#45288: pb2 returns a lot of compilation warnings · 560ee215
    Davi Arnaut authored
    Fix assorted warnings that are generated in optimized builds.
    Most of it is silencing variables that are set but unused.
    
    This patch also introduces the MY_ASSERT_UNREACHABLE macro
    which helps the compiler to deduce that a certain piece of
    code is unreachable.
    560ee215
    Bug#45288: pb2 returns a lot of compilation warnings
    Davi Arnaut authored
    Fix assorted warnings that are generated in optimized builds.
    Most of it is silencing variables that are set but unused.
    
    This patch also introduces the MY_ASSERT_UNREACHABLE macro
    which helps the compiler to deduce that a certain piece of
    code is unreachable.
Loading