Local BUFFER xxxx is not used (false positive).

Project:Prolint Issue Tracker
Component:Rules
Category:bug report
Priority:normal
Assigned:admin.jurjen
Status:closed
Description

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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

Assigned to:Anonymous» admin.jurjen
Status:active» fixed

Fixed, committed to subversion at revision 365


#2

Status:fixed» closed