diff options
author | D G Turner | 2017-01-15 11:46:42 +0000 |
---|---|---|
committer | D G Turner | 2017-01-15 11:46:42 +0000 |
commit | 906f850a9cfbf128afd9016bf2ae5de5bf230423 (patch) | |
tree | 236836ab10fd04b5a3d17e995f8d7261571d84a7 | |
parent | aa2e84c37653da4b2c3c0acd076554ade2e5ed5c (diff) | |
download | scummvm-rg350-906f850a9cfbf128afd9016bf2ae5de5bf230423.tar.gz scummvm-rg350-906f850a9cfbf128afd9016bf2ae5de5bf230423.tar.bz2 scummvm-rg350-906f850a9cfbf128afd9016bf2ae5de5bf230423.zip |
COMMON: Fix Variable Used Uninitialized Compiler Warning.
-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"; |