cmd: Remove duplicated if-check (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2014-11-27 11:27:33 +01:00 committed by Alexandre Julliard
parent 9afd55072f
commit 232390e5b8
1 changed files with 1 additions and 1 deletions

View File

@ -3112,7 +3112,7 @@ void WCMD_rename (void)
if (dotDst && (*(dotDst+1)=='*')) {
if (dotSrc) strcatW(dest, dotSrc);
} else if (dotDst) {
if (dotDst) strcatW(dest, dotDst);
strcatW(dest, dotDst);
}
WINE_TRACE("Source '%s'\n", wine_dbgstr_w(src));