summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/test/test_tkinter/test_widgets.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-10-25 06:09:55 (GMT)
committerGitHub <noreply@github.com>2017-10-25 06:09:55 (GMT)
commit88d5e2c938b014885044f1cfd016e62798f07fd2 (patch)
treea613aacd228dff102ec83ec85f8c3b932cbbfc85 /Lib/lib-tk/test/test_tkinter/test_widgets.py
parent04c0a4038e8764f742de8505600b8ee97ee50776 (diff)
downloadcpython-88d5e2c938b014885044f1cfd016e62798f07fd2.zip
cpython-88d5e2c938b014885044f1cfd016e62798f07fd2.tar.gz
cpython-88d5e2c938b014885044f1cfd016e62798f07fd2.tar.bz2
fix marshal uninitialized variable warnings (#4114)
GCC says: ../cpython/Python/marshal.c: In function ‘PyMarshal_WriteLongToFile’: ../cpython/Python/marshal.c:70:35: warning: ‘wf.ptr’ may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \ ^~ ../cpython/Python/marshal.c:70:47: warning: ‘wf.end’ may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \ ^~ ../cpython/Python/marshal.c:77:10: warning: ‘wf.str’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (p->str == NULL) ~^~~~~ This isn't a real problem because if the file pointer is not NULL, the string-related fields are never touched. But, it doesn't hurt to set the unused fields to NULL.
Diffstat (limited to 'Lib/lib-tk/test/test_tkinter/test_widgets.py')
0 files changed, 0 insertions, 0 deletions