From e33d2bb9a2b1db9688beabc7815abf567aa79418 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Thu, 4 Aug 2011 00:44:09 +0000 Subject: [PATCH] 2011-08-04 02:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c * small code modification to pacify warning --- harbour/ChangeLog | 4 ++++ harbour/src/vm/hvm.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index afd264d61c..f629fa0cdb 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-08-04 02:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/src/vm/hvm.c + * small code modification to pacify warning + 2011-08-04 01:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/runner.c * do not execute EXIT procedures inside HB_HRBDO() call. diff --git a/harbour/src/vm/hvm.c b/harbour/src/vm/hvm.c index 3d17eb66f3..6a0655cfad 100644 --- a/harbour/src/vm/hvm.c +++ b/harbour/src/vm/hvm.c @@ -8844,9 +8844,9 @@ HB_BOOL hb_vmRequestReenterExt( void ) #if defined( HB_MT_VM ) HB_STACK_TLS_PRELOAD - uiAction = hb_stackId() == NULL ? HB_VMSTACK_REQUESTED : 0; - if( uiAction ) + if( hb_stackId() == NULL ) { + uiAction = HB_VMSTACK_REQUESTED; /* TODO: add protection against executing hb_threadStateNew() * during GC pass */