Skip to content

no error -w3 when use function #345

@JoseQuintas

Description

@JoseQuintas

PROCEDURE Main
LOCAL A
A := 'X'
A += 'X' + hb_Eol()
RETURN

PROCEDURE Main
LOCAL A
A := 'X'
A += 'X'
RETURN

On first sample, no error compiling with -w3
On second sample ok,
test.prg:9: warning W0032 Variable 'A' is assigned but not used in function '6:MAIN'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions