Initialize the key in lru_node_t to NULL

Fixes a lint error and a coding smell.
This commit is contained in:
ridiculousfish 2017-05-17 21:04:21 -07:00
parent cbd9181b7e
commit 1f9349fb71

View File

@ -39,7 +39,7 @@ class lru_cache_t {
lru_node_t(lru_node_t &&) = default;
// Our key in the map. This is owned by the map itself.
const wcstring *key;
const wcstring *key = NULL;
// The value from the client
CONTENTS value;