From 9e390bcdcfbd0758c3b664b1c8ae94f25dde9fe6 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Thu, 4 Oct 2007 10:37:00 +0000 Subject: [PATCH] 2007-10-04 12:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! removed one call to hb_vmRequestRestore() left by mistake % minor optimization --- harbour/ChangeLog | 5 +++++ harbour/source/vm/hvm.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 707fe359ae..522a30669f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-10-04 12:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/vm/hvm.c + ! removed one call to hb_vmRequestRestore() left by mistake + % minor optimization + 2007-10-04 02:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! fixed setting HB_FS_FIRST flag diff --git a/harbour/source/vm/hvm.c b/harbour/source/vm/hvm.c index 033466ed5a..d89c5bd029 100644 --- a/harbour/source/vm/hvm.c +++ b/harbour/source/vm/hvm.c @@ -6793,7 +6793,7 @@ static PHB_ITEM hb_vmMsgRefWrite( PHB_ITEM pRefer, PHB_ITEM pSource ) hb_itemCopy( &pMsgRef->value, pSource ); pMsgRef->value.type |= HB_IT_DEFAULT; } - return &pMsgRef->value; + return NULL; /*&pMsgIdxRef->value;*/ } static void hb_vmMsgRefCopy( PHB_ITEM pDest ) @@ -6909,11 +6909,10 @@ static PHB_ITEM hb_vmMsgIdxRefWrite( PHB_ITEM pRefer, PHB_ITEM pSource ) &pMsgIdxRef->object; hb_objOperatorCall( HB_OO_OP_ARRAYINDEX, pObject, pObject, &pMsgIdxRef->index, pSource ); - hb_vmRequestRestore(); pMsgIdxRef->value.type |= HB_IT_DEFAULT; } - return &pMsgIdxRef->value; + return NULL; /*&pMsgIdxRef->value;*/ } static void hb_vmMsgIdxRefCopy( PHB_ITEM pDest )