mordentral / VRExpansionPlugin

A UE4-5 VR framework
https://www.vreue4.com
MIT License
522 stars 109 forks source link

Fix Unreachable Code compile warnings #48

Closed ronaldburns closed 8 months ago

ronaldburns commented 8 months ago

Just cleaned up some unreachable code that was causing my builds to fail.

Deleted code in the AdjustTransformByGivenControllerProfile, but decided to just use PRAGMA_DISABLE_UNREACHABLE_CODE_WARNINGS around RLE_Funcs::RLEEncodeBuffer, since it looks like you want to keep that code as reference.

mordentral commented 8 months ago

Mmm, i'm going to merge this in but fix the RLE encode to comment out the section that is unreachable instead of adding the pragma around it.

mordentral commented 8 months ago

Thanks though, good changes