[Scummvm-git-logs] scummvm master -> 76bf6da5fa392219670f5f8eb9008698119c5db3

digitall 547637+digitall at users.noreply.github.com
Sun Dec 1 00:36:36 UTC 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
76bf6da5fa COMMON: Fix Missing Default Switch Case in Span Header


Commit: 76bf6da5fa392219670f5f8eb9008698119c5db3
    https://github.com/scummvm/scummvm/commit/76bf6da5fa392219670f5f8eb9008698119c5db3
Author: D G Turner (digitall at scummvm.org)
Date: 2019-12-01T00:32:48Z

Commit Message:
COMMON: Fix Missing Default Switch Case in Span Header

This is flagged by GCC if -Wswitch-default is enabled.

Changed paths:
    common/span.h


diff --git a/common/span.h b/common/span.h
index 31cb748..d482740 100644
--- a/common/span.h
+++ b/common/span.h
@@ -599,6 +599,8 @@ public:
 			case kValidateSeek:
 				modeName = "seeking";
 				break;
+			default:
+				break;
 		}
 
 		return String::format("Access violation %s %s: %u + %d > %u",




More information about the Scummvm-git-logs mailing list