oleaut32: Remove unnecessary check for NULL.

This commit is contained in:
Mike McCormack 2006-04-07 16:28:05 +09:00 committed by Alexandre Julliard
parent 14278b4299
commit e0276035a4
1 changed files with 1 additions and 2 deletions

View File

@ -347,8 +347,7 @@ HRESULT WINAPI LoadTypeLibEx(
{
case REGKIND_DEFAULT:
/* don't register typelibs supplied with full path. Experimentation confirms the following */
if ((!szFile) ||
((szFile[0] == '\\') && (szFile[1] == '\\')) ||
if (((szFile[0] == '\\') && (szFile[1] == '\\')) ||
(szFile[0] && (szFile[1] == ':'))) break;
/* else fall-through */