mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Remove unreachable code. (Sjoerd)
This commit is contained in:
@@ -398,10 +398,6 @@ PyLong_FromLongLong(ival)
|
||||
|
||||
return (PyObject *)v;
|
||||
}
|
||||
|
||||
/* If we got here, we're confused... */
|
||||
PyErr_SetString( PyExc_ArithmeticError, "invalid long integer" );
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -434,10 +430,6 @@ PyLong_FromUnsignedLongLong(ival)
|
||||
|
||||
return (PyObject *)v;
|
||||
}
|
||||
|
||||
/* If we got here, we're confused... */
|
||||
PyErr_SetString( PyExc_ArithmeticError, "invalid unsigned long integer" );
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user