mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-27 23:54:27 +08:00
Initialize the key in lru_node_t to NULL
Fixes a lint error and a coding smell.
This commit is contained in:
parent
cbd9181b7e
commit
1f9349fb71
@ -39,7 +39,7 @@ class lru_cache_t {
|
|||||||
lru_node_t(lru_node_t &&) = default;
|
lru_node_t(lru_node_t &&) = default;
|
||||||
|
|
||||||
// Our key in the map. This is owned by the map itself.
|
// Our key in the map. This is owned by the map itself.
|
||||||
const wcstring *key;
|
const wcstring *key = NULL;
|
||||||
|
|
||||||
// The value from the client
|
// The value from the client
|
||||||
CONTENTS value;
|
CONTENTS value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user