From 905536c5195bf311a55b8e8d22757cdb31502660 Mon Sep 17 00:00:00 2001 From: Andrey Tuganov Date: Wed, 31 Jan 2018 16:59:55 -0500 Subject: [PATCH] Fixed harmless uninit var warning --- source/util/move_to_front.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/util/move_to_front.h b/source/util/move_to_front.h index 0cfd7c181..de405dde4 100644 --- a/source/util/move_to_front.h +++ b/source/util/move_to_front.h @@ -609,7 +609,7 @@ void MoveToFront::InsertNode(uint32_t node) { // Will determine if |node| will become the right or left child after // insertion (but before balancing). - bool right_child; + bool right_child = true; // Find the node which will become |node|'s parent after insertion // (but before balancing).