2013-11-01 01:21 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* src/compiler/hbopt.c
! fixed -w3 warning 'Variable ... is assigned but not used', reapplied
patch 2012-04-04 20:20 UTC+0300 Mindaugas Kavaliauskas
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2013-11-01 01:21 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
|
||||
* src/compiler/hbopt.c
|
||||
! fixed -w3 warning 'Variable ... is assigned but not used', reapplied
|
||||
patch 2012-04-04 20:20 UTC+0300 Mindaugas Kavaliauskas
|
||||
|
||||
2013-10-31 13:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* contrib/hbfship/hbfship.hbx
|
||||
! removed FIELDDECI() reenabled by mistake during one of
|
||||
|
||||
@@ -965,8 +965,20 @@ static HB_BOOL hb_compIsUncondJump( HB_BYTE bPCode )
|
||||
{
|
||||
return bPCode == HB_P_JUMPNEAR ||
|
||||
bPCode == HB_P_JUMP ||
|
||||
bPCode == HB_P_JUMPFAR ||
|
||||
bPCode == HB_P_SEQEND;
|
||||
bPCode == HB_P_JUMPFAR;
|
||||
/* || bPCode == HB_P_SEQEND;
|
||||
BEGIN SEQUENCE/END SEQUENCE logic could not be processed using conditional/unconditional
|
||||
jumps. I set HB_P_SEQEND as conditional jump though this PCode instruction is processed
|
||||
as unconditional jump by Harbour VM. This hack solves 'Variable is assigned but not used'
|
||||
warning false positive in code:
|
||||
BEGIN SEQUENCE
|
||||
nI := 1
|
||||
Break( NIL )
|
||||
RECOVER
|
||||
? nI
|
||||
END SEQUENCE
|
||||
[Mindaugas]
|
||||
*/
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user