https://git.reactos.org/?p=reactos.git;a=commitdiff;h=680f103f3d52bf46b41eb5249c17d097ac55a3c2

commit 680f103f3d52bf46b41eb5249c17d097ac55a3c2
Author:     Thomas Faber <[email protected]>
AuthorDate: Sat Feb 19 09:49:27 2022 -0500
Commit:     Thomas Faber <[email protected]>
CommitDate: Sun Mar 13 16:20:44 2022 -0400

    [NETCFGX] Fix uninitialized variable use.
---
 dll/win32/netcfgx/propertypage.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dll/win32/netcfgx/propertypage.c b/dll/win32/netcfgx/propertypage.c
index 3742e1bfe8f..d0a49e2906a 100644
--- a/dll/win32/netcfgx/propertypage.c
+++ b/dll/win32/netcfgx/propertypage.c
@@ -594,13 +594,11 @@ BuildParameterArray(
                     dwDefaultMin = 0UL;
                     dwDefaultMax = 65535UL; // MAX_WORD;
                 }
-#if 0
                 else if (ParamArray->Array[dwIndex].Type == DWORD_TYPE)
                 {
                     dwDefaultMin = 0UL;
                     dwDefaultMax = 4294967295UL; //MAX_DWORD;
                 }
-#endif
 
                 if (ParamArray->Array[dwIndex].Type == INT_TYPE ||
                     ParamArray->Array[dwIndex].Type == LONG_TYPE)

Reply via email to