diff options
Diffstat (limited to 'common/span.h')
-rw-r--r-- | common/span.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/span.h b/common/span.h index db6110a91c..0bb5a25972 100644 --- a/common/span.h +++ b/common/span.h @@ -580,7 +580,7 @@ public: const String name() const { return String::format("%p", static_cast<const void *>(data())); } String getValidationMessage(const index_type index, const difference_type deltaInBytes, const SpanValidationMode mode) const { - const char *modeName; + const char *modeName = "unknown"; switch (mode) { case kValidateRead: modeName = "reading"; |