Use this tag when question is related to unused functions issues as warnings
Questions tagged [unused-functions]
18 questions
0
votes
1 answer
Suppress "Unused declaration of function" warning GCC
I'm trying to suppress "Unused declaration of function" warning in GCC into a third party file for an embedded system.
I tried every combination of pragma attribute((unused)) but the warnig is still there.
This is the declaration of a weak…

Federico
- 1,117
- 6
- 20
- 37
0
votes
2 answers
Unused argument issue
I am using the simple code as below and I am getting an error: "Error in func(time, state, parms, ...) : unused arguments (state, parms)". It looks like this error arises whenever I use 'function(koff_WT)' function otherwise the model runs fine…

Khushhi
- 61
- 4
0
votes
2 answers
"Unused argument" error in function (if...else) when putting external vector as argument
I'm trying to set up a function that takes values from a single vector, performs some initial checks and finally does calculations, in case checks found suitable input. Here's a simplified version of the issue I'm facing:
I need a vector, consisting…

Glory
- 5
- 2