From 1ef31fd275618aad2e024fcaab489e2bb013fc70 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 23 Jun 2009 00:15:42 +0000 Subject: [PATCH] 2009-06-23 02:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbcmplib.c * removed automatically set 1-st parameter in hb_compile*() functions so user can control it from .prg code --- harbour/ChangeLog | 5 +++++ harbour/source/compiler/hbcmplib.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4cee4cf2c6..c398f35bbd 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-06-23 02:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/compiler/hbcmplib.c + * removed automatically set 1-st parameter in hb_compile*() functions + so user can control it from .prg code + 2009-06-23 01:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added information about C/C++ mode defaults. diff --git a/harbour/source/compiler/hbcmplib.c b/harbour/source/compiler/hbcmplib.c index 2049234b14..d4b46de274 100644 --- a/harbour/source/compiler/hbcmplib.c +++ b/harbour/source/compiler/hbcmplib.c @@ -83,7 +83,6 @@ static void hb_compGenArgList( int iFirst, int iLast, argv = ( char ** ) hb_xgrab( sizeof( char * ) * ( argc + 1 ) ); argc = 0; - argv[ argc++ ] = ( char * ) ""; for( i = iFirst; i <= iLast; ++i ) { pParam = hb_param( i, HB_IT_ARRAY | HB_IT_STRING );