Hey whats up first time posting and I am new to the whole programing thing. I am trying to build an erc721 marketplace. I am running into issues migrating the sol files. I keep getting this error and cannot figure it out
/C/Users/NEWMONEY/Desktop/PrntPlace-main/contracts/PrntNFT.sol:21:9: Warning: Unused function parameter. Remove or comment out the variable name to silence
this warning.
uint prntPrice
^------------^
,/C/Users/NEWMONEY/Desktop/PrntPlace-main/contracts/PrntNFT.sol:50:5: Warning: Function state mutability can be restricted to view
function getNextPrntId() private returns (uint nextPrntId) {
^ (Relevant source part starts here and spans across multiple lines).
The compiler is warning that you have an unused function parameter. Meaning you don’t use prntPrice in your function, so you could remove the parameter.