Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
- Changed Function with no return to Sub
- Removed unused class
  • Loading branch information
Kowalski7 committed Jul 7, 2024
1 parent 1edebe9 commit 14b609c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions My IP Address/DarkModeToolStripRenderer.vb

This file was deleted.

4 changes: 2 additions & 2 deletions My IP Address/LocalAddressFetcher.vb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Public Class LocalAddressFetcher
Return ValidAddresses
End Function

Public Function FetchData() As Nullable
Public Sub FetchData()
Dim NetworkInterfaces As NetworkInterface() = NetworkInterface.GetAllNetworkInterfaces()
addresses = New Dictionary(Of String, List(Of List(Of String)))

Expand All @@ -48,7 +48,7 @@ Public Class LocalAddressFetcher
addresses.Add(netadapter.Name, New List(Of List(Of String)) From {IPv4Addresses, IPv6Addresses})
End If
Next
End Function
End Sub

Public Function GetLocalAddresses() As Dictionary(Of String, List(Of List(Of String)))
Return addresses
Expand Down
1 change: 0 additions & 1 deletion My IP Address/My IP Address.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
<SubType>Form</SubType>
</Compile>
<Compile Include="DarkMode.vb" />
<Compile Include="DarkModeToolStripRenderer.vb" />
<Compile Include="LocalAddressFetcher.vb" />
<Compile Include="MainWindow.vb">
<SubType>Form</SubType>
Expand Down

0 comments on commit 14b609c

Please sign in to comment.