From 5cc4b3ba165bf5b26fdc37da58ec42ee8abb7e6d Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 9 Nov 2003 01:21:04 +0000 Subject: [PATCH] Removed dead code in VarDateFromUI2(). --- dlls/oleaut32/variant.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index d0f9133ef27..64ece928d01 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -3113,11 +3113,6 @@ HRESULT WINAPI VarDateFromUI2(USHORT uiIn, DATE* pdateOut) { TRACE("( %d, %p ), stub\n", uiIn, pdateOut ); - if( uiIn > DATE_MAX ) - { - return DISP_E_OVERFLOW; - } - *pdateOut = (DATE) uiIn; return S_OK;