From 23a98e0de8847285108859e677d69b8f1f31705d Mon Sep 17 00:00:00 2001 From: Zardosht Kasheff Date: Tue, 16 Apr 2013 23:59:48 -0400 Subject: [PATCH] [t:3907], fix compile of gcc optimized git-svn-id: file:///svn/toku/tokudb@34219 c7de825b-a66e-492c-adef-691d508d4ae1 --- newbrt/cachetable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newbrt/cachetable.c b/newbrt/cachetable.c index ab95beb0b56..4869651b613 100644 --- a/newbrt/cachetable.c +++ b/newbrt/cachetable.c @@ -1353,7 +1353,9 @@ static int maybe_flush_some (CACHETABLE ct, long size) { // We must detect this case otherwise we will end up in an infinite loop below. // CACHEKEY curr_cachekey; + curr_cachekey.b = INT64_MAX; // create initial value so compiler does not complain FILENUM curr_filenum; + curr_filenum.fileid = UINT32_MAX; // create initial value so compiler does not complain BOOL set_val = FALSE; while ((ct->head) && (size + ct->size_current > ct->size_limit + ct->size_evicting)) {