plsql:S1854: False negative

Hi,

I’ve noticed that for rule plsql:S1854 no issue is shown for the following snippet:

create or replace package body Test is

    procedure testProcedure is
        firstName varchar2(30);
        lastName  varchar2(30);
    begin
        firstName := 'Brad';
        lastName  := 'Smith';
        dbms_output.put_line('First name:' || firstName || ', last name: ' || firstName);
    end testProcedure;

end Test;
/

Language: PL/SQL
SQ version: 10.6

Could you please take a look at this?

Thanks!

Karl

Hey again!

Good find, I added it on our backlog where we will take care of it during an upcoming hardening in the near future.

Kind regards,
Greg

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.