Project: | Prolint Issue Tracker |
Component: | Rules |
Category: | bug report |
Priority: | normal |
Assigned: | admin.jurjen |
Status: | closed |
Following code in GO trigger:
DEFINE BUFFER buf-dossier-path FOR dossier-path.
DEFINE BUFFER buf-combinations FOR combinations.
IF g-asp THEN DO:
CREATE QUERY qh.
qh:SET-BUFFERS(BUFFER buf-dossier-path:HANDLE, BUFFER buf-combinations:HANDLE).
END.
Gives "Local BUFFER buf-dossier-path is not used." and "Local BUFFER buf-combinations is not used."
Comments
Local BUFFER xxxx is not used (false positive).
Also occurs when buffer handle is passed to function.
Example:
DEFINE BUFFER bCustomer FOR Customer.
FnReadCustomer((BUFFER bCustomer:HANDLE)).
#1
Fixed, committed to subversion at revision 365
#2