sonar-openedge icon indicating copy to clipboard operation
sonar-openedge copied to clipboard

Unused buffer

Open stefandrissen opened this issue 4 years ago • 1 comments

define temp-table tt no-undo
   field hb as handle
   .

procedure foo:
   define parameter buffer bu for tt.

   message bu.hb:buffer-field( "bar" ).

end procedure.

stefandrissen avatar Apr 25 '20 20:04 stefandrissen

Same issue when the buffer is passed to a class method:

METHOD PUBLIC LOGICAL Test( BUFFER pbttTest FOR ttTest):
    MESSAGE pbttTest.Field VIEW-AS ALERT-BOX.
END METHOD.

hpmBravura avatar May 26 '22 03:05 hpmBravura

Probably too old, can't reproduce in 2.20 development

gquerret avatar Mar 06 '23 14:03 gquerret