False positive on bufdbfunc

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

In the following code Prolint 70 gives 'no buffer defined for table Customer' for the line (BUFFER P_bCustomer FOR Customer): and again for the line FOR EACH bCustomer NO-LOCK:


FUNCTION FnOops RETURNS INTEGER
(BUFFER P_bCustomer FOR Customer):
/*------------------------------------------------------------------------------
Purpose: None at all
------------------------------------------------------------------------------*/
DEFINE VARIABLE nCustomer AS INTEGER NO-UNDO.

FOR EACH P_bCustomer NO-LOCK:
nCustomer = nCustomer + 1.
END.

RETURN nCustomer.

END FUNCTION.


Updates

#1 submitted by jurjen on Fri, 2007-10-26 12:22

Confirmed. Sorry, I forgot to look at buffer parameters....


#2 submitted by jurjen on Sat, 2008-04-12 15:49
Assigned to:» jurjen
Status:active» fixed

fixed, committed to subversion as revision 364


#3 submitted by Anonymous on Sat, 2008-04-26 15:50
Status:fixed» closed