File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -285,19 +285,12 @@ _PyLong_SameSign(const PyLongObject *a, const PyLongObject *b)
285285 return (a -> long_value .lv_tag & SIGN_MASK ) == (b -> long_value .lv_tag & SIGN_MASK );
286286}
287287
288- /* Initialize a freshly-allocated int.
289- *
290- * Fast operations for single digit integers (including zero)
291- * assume that there is always at least one digit present.
292- * The digit has to be initialized explicitly to avoid
293- * use-of-uninitialized-value.
294- */
288+ /* Initialize a freshly-allocated int. */
295289static inline void
296290_PyLong_InitTag (PyLongObject * op )
297291{
298292 assert (PyLong_Check (op ));
299293 op -> long_value .lv_tag = 1 ; /* non-immortal zero */
300- op -> long_value .ob_digit [0 ] = 0 ;
301294}
302295
303296#define TAG_FROM_SIGN_AND_SIZE (sign , size ) \
You can’t perform that action at this time.
0 commit comments