Skip to content

Commit

Permalink
remove cstyle default init
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXShady authored and ChrisThrasher committed Sep 27, 2024
1 parent 4c818c3 commit 84f580e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CSFML/Network/IpAddress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace
// Helper function for converting a SFML address to a CSFML one
[[nodiscard]] sfIpAddress fromSFMLAddress(std::optional<sf::IpAddress> address)
{
sfIpAddress result = {0};
sfIpAddress result{};

if (address)
{
Expand Down

0 comments on commit 84f580e

Please sign in to comment.