Skip to content

Commit 98c1dff

Browse files
authored
Simplify initialization of executables array
Removed unnecessary initialization loop for executables array.
1 parent 9d83d0f commit 98c1dff

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/webui.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6080,11 +6080,6 @@ static bool _webui_custom_browser_exist(_webui_window_t* win, size_t browser) {
60806080
#define MAX_BROWSER_FILES (5)
60816081
char* executable = NULL;
60826082
char* executables[MAX_BROWSER_FILES] = {0};
6083-
{
6084-
int i;
6085-
for(i = 0; i < MAX_BROWSER_FILES; i++)
6086-
executables[i] = NULL;
6087-
}
60886083
if (browser == Chrome) {
60896084
executables[0] = "google-chrome";
60906085
executables[1] = "google-chrome-stable";

0 commit comments

Comments
 (0)