Roeland
Member³
Consider the following method:
This gives the following error message:
If I rewrite the method it works correctly:
In the "Dummy Variable prefixes" preference I have the value "Dummy"
Roeland
PL/SQL Dev. version 8.0.4.1514
Code:
procedure Test (p_Test_Id in Number default null) is
Dummy_Test_Id Number := p_Test_Id;
begin
Null;
end Test;
This gives the following error message:
Code:
Compilation errors for PACKAGE BODY TEST
Error: Hint: Variable 'Dummy_Test_Id' is declared but never used in 'Test'
Line: 4
Text: Dummy_Test_Id Number := p_Test_Id;
If I rewrite the method it works correctly:
Code:
procedure Test (p_Test_Id in Number default null) is
Dummy_Test_Id Number;
begin
Dummy_Test_Id := p_Test_Id;
Null;
end Test;
In the "Dummy Variable prefixes" preference I have the value "Dummy"
Roeland
PL/SQL Dev. version 8.0.4.1514