Skip to content

Commit e5027c2

Browse files
Style: remove unneeded parens
1 parent 6a00c54 commit e5027c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/socketmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5353,7 +5353,7 @@ sock_initobj_impl(PySocketSockObject *self, int family, int type, int proto,
53535353

53545354
#ifndef MS_WINDOWS
53555355
#ifdef SOCK_CLOEXEC
5356-
int *atomic_flag_works = &(state->sock_cloexec_works);
5356+
int *atomic_flag_works = &state->sock_cloexec_works;
53575357
#else
53585358
int *atomic_flag_works = NULL;
53595359
#endif
@@ -6243,7 +6243,7 @@ socket_socketpair(PyObject *self, PyObject *args)
62436243
PyObject *res = NULL;
62446244
socket_state *state = get_module_state(self);
62456245
#ifdef SOCK_CLOEXEC
6246-
int *atomic_flag_works = &(state->sock_cloexec_works);
6246+
int *atomic_flag_works = &state->sock_cloexec_works;
62476247
#else
62486248
int *atomic_flag_works = NULL;
62496249
#endif

0 commit comments

Comments
 (0)