Skip to content

Commit 9adcf8e

Browse files
corona10vstinner
andauthored
Update Modules/mmapmodule.c
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 2a5d9a4 commit 9adcf8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/mmapmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ mmap_mmap_set_name_impl(mmap_object *self, const char *name)
11381138
return NULL;
11391139
}
11401140
if (self->flags & MAP_ANONYMOUS) {
1141-
char buf[81] = {0, };
1141+
char buf[81];
11421142
sprintf(buf, "%s%s", prefix, name);
11431143
_PyAnnotateMemoryMap(self->data, self->size, buf);
11441144
Py_RETURN_NONE;

0 commit comments

Comments
 (0)