Project: | Prolint Issue Tracker |
Component: | Rules |
Category: | bug report |
Priority: | normal |
Assigned: | jurjen |
Status: | closed |
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.
Comments
#1
Confirmed. Sorry, I forgot to look at buffer parameters....
#2
fixed, committed to subversion as revision 364
#3