we now ensure the operations table is set up early enough the null check is not required

This commit is contained in:
Vincent Sanders 2014-05-10 11:17:34 +01:00
parent 16b11e7238
commit 7dc170e6d8
1 changed files with 1 additions and 6 deletions

View File

@ -97,12 +97,7 @@ nserror netsurf_mkpath(char **str, size_t *size, size_t nelm, ...)
nserror ret;
va_start(ap, nelm);
if (guit != NULL) {
ret = guit->file->mkpath(str, size, nelm, ap);
} else {
/* default to posix */
ret = vsnstrjoin(str, size, '/', nelm, ap);
}
ret = guit->file->mkpath(str, size, nelm, ap);
va_end(ap);
return ret;