Skip to content

Commit

Permalink
COMMON: Fix Variable Used Uninitialized Compiler Warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
digitall committed Jan 15, 2017
1 parent aa2e84c commit 906f850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/span.h
Expand Up @@ -580,7 +580,7 @@ class SpanImpl : public SpanBase<ValueType, Derived> {
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";
Expand Down

0 comments on commit 906f850

Please sign in to comment.