From 6aa14fe50cc9c18ddbefad79c4576b3d3b0dc675 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 15 Sep 2009 18:07:14 +0000 Subject: [PATCH] 2009-09-15 20:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * pacified BCC warning * harbour/contrib/hbwin/win_com.c ! added missing header #include "hbinit.h" Thanks to Enrico for info. --- harbour/ChangeLog | 7 +++++++ harbour/contrib/hbwin/win_com.c | 1 + harbour/source/rdd/dbf1.c | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index a76f88ccb8..0f7bcbf3d0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-09-15 20:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rdd/dbf1.c + * pacified BCC warning + * harbour/contrib/hbwin/win_com.c + ! added missing header #include "hbinit.h" + Thanks to Enrico for info. + 2009-09-15 17:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * tests/menutest.prg ! Deleted COLOR keywords from examples. This seems to be an xhb diff --git a/harbour/contrib/hbwin/win_com.c b/harbour/contrib/hbwin/win_com.c index 475423f98e..ec01372d62 100644 --- a/harbour/contrib/hbwin/win_com.c +++ b/harbour/contrib/hbwin/win_com.c @@ -54,6 +54,7 @@ #include "hbapi.h" #include "hbapierr.h" +#include "hbinit.h" #include "hbwin.h" static struct diff --git a/harbour/source/rdd/dbf1.c b/harbour/source/rdd/dbf1.c index a80ab8dedb..204dc3499b 100644 --- a/harbour/source/rdd/dbf1.c +++ b/harbour/source/rdd/dbf1.c @@ -5547,7 +5547,7 @@ static HB_ERRCODE hb_dbfRename( LPRDDNODE pRDD, PHB_ITEM pItemTable, PHB_ITEM pI char szFileNew[ HB_PATH_MAX ]; const char * szFile, * szExt; PHB_ITEM pFileExt = NULL; - PHB_FNAME pFileName, pFileNameNew = NULL; + PHB_FNAME pFileName, pFileNameNew; BOOL fTable = FALSE, fResult = FALSE; HB_TRACE(HB_TR_DEBUG, ("hb_dbfRename(%p,%p,%p,%p,%lu)", pRDD, pItemTable, pItemIndex, pItemNew, ulConnect));