Skip to content

Commit

Permalink
Merge pull request #836 from gofractally/fix-warnings
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
James-Mart committed Sep 10, 2024
2 parents 395c63b + 702eb41 commit 6512b87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions libraries/net/include/psibase/blocknet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ namespace psibase::net
}
}
assert(!"Unknown peer connection");
__builtin_unreachable();
}

void disconnect(peer_id id)
Expand Down
8 changes: 4 additions & 4 deletions services/user/Nft/src/Nft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,14 @@ struct NftQuery
return NftDetail
{
.id = nft->id,
.owner = UserDetail{
.account = nft->owner,
.authService = owner->authService,
},
.issuer = UserDetail{
.account = nft->issuer,
.authService = issuer->authService,
},
.owner = UserDetail{
.account = nft->owner,
.authService = owner->authService,
}
};
// clang-format on
}
Expand Down

0 comments on commit 6512b87

Please sign in to comment.