Do nothing in `if` sentence. 
Why not change to 

```c++
if (strFilePath.find(_defaultResRootPath) == 0)
{
      // Found "assets/" at the beginning of the path and we don't want it
      s += strlen("assets/");
}
```