Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Commit

Permalink
Bug 1499864 - WindowsNetworkFunctionsWrapper's dtor should be virtual…
Browse files Browse the repository at this point in the history
…. r=bagder

Also delete declaration of an unused var.
Both of these are compile warnings on win64 clang-cl.

MozReview-Commit-ID: aOBmtxgpz6

Differential Revision: https://phabricator.services.mozilla.com/D9029
  • Loading branch information
kdashg committed Oct 18, 2018
1 parent 0093319 commit 197cdfd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion toolkit/system/windowsDHCPClient/DHCPUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ GetActiveDHCPNetworkAdapterName(nsACString& aNetworkAdapterName,
{
/* Declare and initialize variables */

uint32_t dwSize = 0;
uint32_t dwRetVal = 0;
nsresult rv = NS_ERROR_FAILURE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class WindowsNetworkFunctionsWrapper : nsISupports
);

protected:
~WindowsNetworkFunctionsWrapper(){};
virtual ~WindowsNetworkFunctionsWrapper(){};

};

Expand Down

0 comments on commit 197cdfd

Please sign in to comment.