xbmc/xbmc — pull request #2754 by Rawk (2013-05-15 20:02:22+00:00)
Title: Remove URIUtils::GetParentFolderURI(..)

It is only called from one deeply nested place with the bool always set to true.

It is a bit hard to follow what it does. First looks like it only splits the path in directory and filename, and then puts it together again. But it is probably used to extract the path in a protocol aware way. That is done by using URIUtils::GetParentPath(..).