Skip to content

Commit

Permalink
handle compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bxmmm1 committed May 9, 2024
1 parent 664d724 commit 8c4f530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/RAVE.sol
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ contract RAVE is RAVEBase, JSONBuilder {
*/
function _buildReportBytes(bytes memory encodedReportValues)
internal
view
pure
returns (Values memory reportValues, bytes memory reportBytes)
{
// Decode the report JSON values
Expand Down
2 changes: 1 addition & 1 deletion src/X509Verifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ library X509Verifier {
* @param certBody The DER-encoded body (preimage) of the x509
* @return Returns ...
*/
function notExpired(bytes calldata certBody) public view returns (bool) {
function notExpired(bytes calldata) public pure returns (bool) {
// TODO
return true;
}
Expand Down

0 comments on commit 8c4f530

Please sign in to comment.