Skip to content

Commit 84f580e

Browse files
ZXShadyChrisThrasher
authored andcommitted
remove cstyle default init
1 parent 4c818c3 commit 84f580e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CSFML/Network/IpAddress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace
3737
// Helper function for converting a SFML address to a CSFML one
3838
[[nodiscard]] sfIpAddress fromSFMLAddress(std::optional<sf::IpAddress> address)
3939
{
40-
sfIpAddress result = {0};
40+
sfIpAddress result{};
4141

4242
if (address)
4343
{

0 commit comments

Comments
 (0)