Not sure if the eixsing rule for unused variables should be extended or if this is a new rule, but it would be great if unused cursors could be detected too. Is this possible? CREATE PACKAGE BODY test_package AS CURSOR cursor_unused_global IS SELECT * FROM dual; variable_unused_global PLS_INTEGER; PROCEDURE test_proc AS CURSOR cursor_unused_local IS SELECT * FROM dual; variable_unused_local PLS_INTEGER; BEGIN dbms_output.put_line( 'TEST' ); END test_proc; END test_package;
↧