interesting tidbit in store_repl_heap.cc

From: Kinkie <gkinkie_at_gmail.com>
Date: Thu, 9 Jan 2014 16:14:00 +0100

It's been there forever, and a build with the most recent clang
version is failing on it:

store_repl_heap.cc:224
try_again:

    if (!heap_nodes(h->theHeap) > 0)

Does anyone have any idea about what this code is supposed to do? A
cursory look at the code would replace it with
   if (heap_empty(h->theHeap))

but before doing that I'd like to make sure I didn't misunderstand.

Thanks

-- 
    /kinkie
Received on Thu Jan 09 2014 - 15:14:07 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 10 2014 - 12:00:12 MST