From 742388f4f3bb8f21e8fbd35d112068cd02285a9b Mon Sep 17 00:00:00 2001 From: Walter Negro Date: Mon, 15 Apr 2002 04:37:44 +0000 Subject: [PATCH] * contrib/libnf/descend.c * Add some values for default to eliminate warnings when compiling with gcc -O2. --- harbour/contrib/libnf/descend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 );