mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Ensure no possible return without value.
This commit is contained in:
parent
414b0cc234
commit
c0b5bfe726
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user