[ovs-dev] [PATCH 05/14] datapath-windows: Cleanup Gre.c

Alin Gabriel Serdean aserdean at ovn.org
Mon Jul 9 13:40:47 UTC 2018


Do not assign an initial value to ` status`, it will be assigned
later on.

Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
---
 datapath-windows/ovsext/Gre.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datapath-windows/ovsext/Gre.c b/datapath-windows/ovsext/Gre.c
index afdd5abe3..c95d089e4 100644
--- a/datapath-windows/ovsext/Gre.c
+++ b/datapath-windows/ovsext/Gre.c
@@ -318,7 +318,7 @@ OvsDecapGre(POVS_SWITCH_CONTEXT switchContext,
     UINT32 headRoom = 0;
     UINT32 maxGreLen;
     PUINT8 bufferStart;
-    NDIS_STATUS status = NDIS_STATUS_SUCCESS;
+    NDIS_STATUS status;
     PCHAR tempBuf = NULL;
     OVS_PACKET_HDR_INFO layers;
 
-- 
2.16.1.windows.1



More information about the dev mailing list