Skip to content

Commit

Permalink
MeTee: Windows: Drop non needed variable initialization on declaration
Browse files Browse the repository at this point in the history
These variables are initialized in flow, no need to pre-initialise them.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
  • Loading branch information
ausyskin committed May 10, 2023
1 parent 8e36882 commit 7e847b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Windows/metee_winhelpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ TEESTATUS EndOverlapped(IN HANDLE handle, IN EVENTHANDLE evt, IN DWORD milliseco
OUT OPTIONAL LPDWORD pNumberOfBytesTransferred)
{
TEESTATUS status;
DWORD err = ERROR_INTERNAL_ERROR;
DWORD err;
EVENTHANDLE pOverlapped = evt;
DWORD bytesTransferred = 0;
LPDWORD pBytesTransferred = NULL;
Expand Down

0 comments on commit 7e847b0

Please sign in to comment.