[PATCH] dpnet: Remove dead code. (Coverity)

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sun Jun 16 01:49:59 CDT 2019


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/dpnet/tests/server.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/dpnet/tests/server.c b/dlls/dpnet/tests/server.c
index 698082d382..ec7b76698f 100644
--- a/dlls/dpnet/tests/server.c
+++ b/dlls/dpnet/tests/server.c
@@ -326,8 +326,6 @@ HRESULT set_firewall( enum firewall_op op )
         hr = INetFwAuthorizedApplications_Add( apps, app );
     else if (op == APP_REMOVE)
         hr = INetFwAuthorizedApplications_Remove( apps, image );
-    else
-        hr = E_INVALIDARG;
 
 done:
     if (app) INetFwAuthorizedApplication_Release( app );
-- 
2.20.1



More information about the wine-devel mailing list