Skip to content

Commit b1a627e

Browse files
Fix uninitialized warning
1 parent 2b75a5b commit b1a627e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/_io/bufferedio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ _enter_buffered_busy(buffered *self)
306306
Py_BEGIN_ALLOW_THREADS
307307
if (!relax_locking) {
308308
PyMutex_Lock(&self->mutex);
309+
st = PY_LOCK_ACQUIRED;
309310
}
310311
else {
311312
/* When finalizing, we don't want a deadlock to happen with daemon

0 commit comments

Comments
 (0)