summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author5an7y-Microsoft <[email protected]>2026-05-07 16:14:53 -0700
committerGitHub <[email protected]>2026-05-07 16:14:53 -0700
commitbe3310aca6254c44200bce767ec7877b363d52f1 (patch)
treed034703fee4bea74bfc8cf8e63535f32dfd24287
parentb6f3ead18fae9060d93d1825924e589db19e88ee (diff)
parent58260dd4216d5e558fe6f218d1aa0935d59a18c5 (diff)
Merge pull request #1373 from andremueiot/user/andremueiot/uninitialized_var_bindview
Potentially uninitialized variables in bindview
-rw-r--r--network/config/bindview/BINDVIEW.CPP6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/config/bindview/BINDVIEW.CPP b/network/config/bindview/BINDVIEW.CPP
index 4231f7c4..8fee84be 100644
--- a/network/config/bindview/BINDVIEW.CPP
+++ b/network/config/bindview/BINDVIEW.CPP
@@ -1444,7 +1444,7 @@ VOID ShowComponentMenu (HWND hwndOwner,
LPARAM lParam)
{
ULONG ulSelection;
- POINT pt;
+ POINT pt{};
GetCursorPos( &pt );
ulSelection = (ULONG)TrackPopupMenu( hComponentSubMenu,
@@ -1496,7 +1496,7 @@ VOID ShowBindingPathMenu (HWND hwndOwner,
{
MENUITEMINFOW menuItemInfo;
ULONG ulSelection;
- POINT pt;
+ POINT pt{};
//
// Build the shortcut menu depending on whether path is
@@ -1787,7 +1787,7 @@ HTREEITEM AddToTreeEx (HWND hwndTree,
LPWSTR lpszId;
GUID guidClass;
BOOL fEnabled;
- ULONG ulStatus;
+ ULONG ulStatus{};
HTREEITEM hTreeItem;
TV_INSERTSTRUCTW tvInsertStruc;
HRESULT hr;