diff --git a/harbour/contrib/libnf/descend.c b/harbour/contrib/libnf/descend.c index 43533aa249..8e66a5fe86 100644 --- a/harbour/contrib/libnf/descend.c +++ b/harbour/contrib/libnf/descend.c @@ -54,10 +54,10 @@ HB_FUNC( FT_DESCEND) #if defined(HB_OS_DOS) || defined(HB_OS_WIN_32) { - auto PHB_ITEM iP = hb_itemParam( 1 ); + auto PHB_ITEM iP = hb_itemParam( 1 ); auto USHORT uiType = hb_itemType( iP ); - auto PHB_ITEM iR; + auto PHB_ITEM iR = NULL; auto USHORT uiLen, n; auto char * pDescend; @@ -87,7 +87,7 @@ HB_FUNC( FT_DESCEND) iR = hb_itemPutCL( 0, pDescend, uiLen ); hb_xfree( pDescend ); - } + } hb_itemReturn( iR );