utils: add noalloc flag to modifyString()
This should make it more straightforward for code analyzers to tell if the function is going to allocate memory.
This commit is contained in:
@ -236,7 +236,7 @@ found:
|
||||
DPRINTF(E_DEBUG, L_SCANNER, "- %s not found in db\n", fname);
|
||||
if( strchr(fname, '\\') )
|
||||
{
|
||||
fname = modifyString(fname, "\\", "/");
|
||||
fname = modifyString(fname, "\\", "/", 1);
|
||||
goto retry;
|
||||
}
|
||||
else if( (fname = strchr(fname, '/')) )
|
||||
|
Reference in New Issue
Block a user