Skip to content

Commit be3310a

Browse files
Merge pull request #1373 from andremueiot/user/andremueiot/uninitialized_var_bindview
Potentially uninitialized variables in bindview
2 parents b6f3ead + 58260dd commit be3310a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

network/config/bindview/BINDVIEW.CPP

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ VOID ShowComponentMenu (HWND hwndOwner,
14441444
LPARAM lParam)
14451445
{
14461446
ULONG ulSelection;
1447-
POINT pt;
1447+
POINT pt{};
14481448

14491449
GetCursorPos( &pt );
14501450
ulSelection = (ULONG)TrackPopupMenu( hComponentSubMenu,
@@ -1496,7 +1496,7 @@ VOID ShowBindingPathMenu (HWND hwndOwner,
14961496
{
14971497
MENUITEMINFOW menuItemInfo;
14981498
ULONG ulSelection;
1499-
POINT pt;
1499+
POINT pt{};
15001500

15011501
//
15021502
// Build the shortcut menu depending on whether path is
@@ -1787,7 +1787,7 @@ HTREEITEM AddToTreeEx (HWND hwndTree,
17871787
LPWSTR lpszId;
17881788
GUID guidClass;
17891789
BOOL fEnabled;
1790-
ULONG ulStatus;
1790+
ULONG ulStatus{};
17911791
HTREEITEM hTreeItem;
17921792
TV_INSERTSTRUCTW tvInsertStruc;
17931793
HRESULT hr;

0 commit comments

Comments
 (0)