More const and atomic correctness

This commit is contained in:
ridiculousfish
2018-10-01 09:59:22 -07:00
parent 070a43989f
commit 1bc4cf2318
3 changed files with 5 additions and 4 deletions

View File

@@ -198,7 +198,7 @@ static bool append_file_entry(fish_message_type_t type, const wcstring &key_in,
}
/// Encoding of a null string.
static const wchar_t *ENV_NULL = L"\x1d";
static const wchar_t * const ENV_NULL = L"\x1d";
/// Decode a serialized universal variable value into a list.
static wcstring_list_t decode_serialized(const wcstring &val) {