Commit e0276035 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

oleaut32: Remove unnecessary check for NULL.

parent 14278b42
...@@ -347,8 +347,7 @@ HRESULT WINAPI LoadTypeLibEx( ...@@ -347,8 +347,7 @@ HRESULT WINAPI LoadTypeLibEx(
{ {
case REGKIND_DEFAULT: case REGKIND_DEFAULT:
/* don't register typelibs supplied with full path. Experimentation confirms the following */ /* don't register typelibs supplied with full path. Experimentation confirms the following */
if ((!szFile) || if (((szFile[0] == '\\') && (szFile[1] == '\\')) ||
((szFile[0] == '\\') && (szFile[1] == '\\')) ||
(szFile[0] && (szFile[1] == ':'))) break; (szFile[0] && (szFile[1] == ':'))) break;
/* else fall-through */ /* else fall-through */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment