mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-07 08:26:28 +00:00
Ensure no possible return without value.
This commit is contained in:
@@ -71,6 +71,7 @@ class MFMEncoder: public Encoder {
|
||||
case SurfaceItem::Data: return 2; // Just a single encoded byte.
|
||||
default: assert(false);
|
||||
}
|
||||
return 0; // Should be impossible to reach in debug builds.
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user