File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,10 @@ VOID StatusBarLoadDefault(
5252 VOID
5353 )
5454{
55- ULONG i ;
56-
5755 if (!StatusBarItemList )
5856 StatusBarItemList = PhCreateList (MAX_DEFAULT_STATUSBAR_ITEMS );
5957
60- for (i = 0 ; i < MAX_DEFAULT_STATUSBAR_ITEMS ; i ++ )
58+ for (ULONG i = 0 ; i < MAX_DEFAULT_STATUSBAR_ITEMS ; i ++ )
6159 {
6260 PSTATUSBAR_ITEM statusItem ;
6361
@@ -134,7 +132,6 @@ VOID StatusBarSaveSettings(
134132 VOID
135133 )
136134{
137- ULONG buttonIndex = 0 ;
138135 PPH_STRING settingsString ;
139136 PH_STRING_BUILDER stringBuilder ;
140137
@@ -146,9 +143,9 @@ VOID StatusBarSaveSettings(
146143 StatusBarItemList -> Count
147144 );
148145
149- for (buttonIndex = 0 ; buttonIndex < StatusBarItemList -> Count ; buttonIndex ++ )
146+ for (ULONG i = 0 ; i < StatusBarItemList -> Count ; i ++ )
150147 {
151- PSTATUSBAR_ITEM statusItem = StatusBarItemList -> Items [buttonIndex ];
148+ PSTATUSBAR_ITEM statusItem = StatusBarItemList -> Items [i ];
152149
153150 PhAppendFormatStringBuilder (
154151 & stringBuilder ,
You can’t perform that action at this time.
0 commit comments