mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue