This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients benjamin.peterson, serhiy.storchaka
Date 2015-09-27.05:34:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443332099.92.0.290485605256.issue25245@psf.upfronthosting.co.za>
In-reply-to
Content
Changeset 88d98f6c2d7d causes compile warnings in Modules/_pickle.c.

/home/serhiy/py/cpython/Modules/_pickle.c: In function ‘load_counted_long’:
/home/serhiy/py/cpython/Modules/_pickle.c:4752:15: warning: ‘pdata’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         value = _PyLong_FromByteArray((unsigned char *)pdata, (size_t)size,
               ^
/home/serhiy/py/cpython/Modules/_pickle.c: In function ‘load’:
/home/serhiy/py/cpython/Modules/_pickle.c:5534:24: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     idx = Py_CHARMASK(s[0]);
                        ^
/home/serhiy/py/cpython/Modules/_pickle.c:5529:11: note: ‘s’ was declared here
     char *s;
           ^
/home/serhiy/py/cpython/Modules/_pickle.c:4800:7: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     x = _PyFloat_Unpack8((unsigned char *)s, 0);
       ^
/home/serhiy/py/cpython/Modules/_pickle.c:4795:11: note: ‘s’ was declared here
     char *s;
           ^
History
Date User Action Args
2015-09-27 05:34:59serhiy.storchakasetrecipients: + serhiy.storchaka, benjamin.peterson
2015-09-27 05:34:59serhiy.storchakasetmessageid: <1443332099.92.0.290485605256.issue25245@psf.upfronthosting.co.za>
2015-09-27 05:34:59serhiy.storchakalinkissue25245 messages
2015-09-27 05:34:59serhiy.storchakacreate