# VHDL135: All declared parameters should be used in the corresponding function/procedure ## Summary ```{raw} html
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| - | - | MEDIUM | Intentionality | Clear | 20min | synthesis, do254-cp14, do254, vscode, linter, simulation, cnes, cnes-std-03100 |
All declared parameters should be used in the corresponding function/procedure. Useless parameters should be removed.
function f( arg1 : std_logic, arg2 : std_logic -- Noncompliant: "arg2" is not used ) return std_logic is begin return arg1; end;
function f( arg1 : std_logic, arg2 : std_logic ) return std_logic is begin return arg1 or arg2; end;``` ## Parameters No parameters. ```{raw} html ```