mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Remove an unneeded variable assignment.
Found using Clang's static analyzer.
This commit is contained in:
		
							parent
							
								
									eb3fef59b9
								
							
						
					
					
						commit
						fee3acb082
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -7,7 +7,7 @@
 | 
			
		|||
#ifndef PyTuple_MAXSAVESIZE
 | 
			
		||||
#define PyTuple_MAXSAVESIZE	20  /* Largest tuple to save on free list */
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef PyTuple_MAXFREELIST 
 | 
			
		||||
#ifndef PyTuple_MAXFREELIST
 | 
			
		||||
#define PyTuple_MAXFREELIST  2000  /* Maximum number of tuples of each size to save */
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -86,7 +86,6 @@ PyTuple_New(register Py_ssize_t size)
 | 
			
		|||
		{
 | 
			
		||||
			return PyErr_NoMemory();
 | 
			
		||||
		}
 | 
			
		||||
		nbytes += sizeof(PyTupleObject) - sizeof(PyObject *);
 | 
			
		||||
 | 
			
		||||
		op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
 | 
			
		||||
		if (op == NULL)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue