This code fixes "control reaches end of non void function" warning that is an error in our project. It does so by adding assertion that is knowingly false. This assertion is not reachable with the proper code, but would become possible to reach if more values are added to the enum.
This code fixes "control reaches end of non void function" warning that is an error in our project. It does so by adding assertion that is knowingly false. This assertion is not reachable with the proper code, but would become possible to reach if more values are added to the enum.