8000 Remove unnecessary array initialization · python/cpython@08821ee · GitHub
[go: up one dir, main page]

Skip to content

Commit 08821ee

Browse files
committed
Remove unnecessary array initialization
Signed-off-by: Filipe Laíns <lains@riseup.net
1 parent aadc56e commit 08821ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/getpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ static int
807807
library_to_dict(PyObject *dict, const char *key)
808808
{
809809
#ifdef Py_ENABLE_SHARED
810-
char path[MAXPATHLEN + 1] = {0};
810+
char path[MAXPATHLEN + 1];
811811

812812
#ifdef MS_WINDOWS
813813
extern HMODULE PyWin_DLLhModule;

0 commit comments

Comments
 (0)
0