Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Return default value from ‘GetCacheTypeString’
The build fails with following message when -Werror and -Werror=return-type are enabled. In function ‘GetCacheTypeString’: error: control reaches end of non-void function [-Werror=return-type] Simple fix is to return NULL from that function. The return value is then checked by an assert in the AddMapEntry. The assert will only work in debug mode, but that seems to be enough.
- Loading branch information