The check before was pointless as it cannot ever be NULL.
We can just use the std::string::empty() method to do this.
Change-Id: I0da3a544b2b18e2820f452a502b2542f4440282f
}
std::string systemCachePath = GetSystemCachePath();
- if ( systemCachePath.c_str() != NULL )
+ if ( ! systemCachePath.empty() )
{
Dali::FileStream fileStream( systemCachePath + "gpu-environment.conf", Dali::FileStream::READ | Dali::FileStream::TEXT );
std::fstream& stream = dynamic_cast<std::fstream&>( fileStream.GetStream() );