Toad World® Forums

Code Analysis: Rule 5406 (unused parameters) triggered if parameter is only used to initialize a variable

in_parameter is used but marked as unused:

DECLARE
PROCEDURE test_me(
in_parameter IN PLS_INTEGER
)
AS
v_parameter PLS_INTEGER := in_parameter + 1;
BEGIN
dbms_output.put_line( v_parameter );
END test_me;
BEGIN
test_me( 1 );
END;

Hello Peter,

Yes, we obviously forgot usages in default clauses, so we fixed that. (QP-2065)
Will be in QP5.307.

Thanks,
Andre