File: arm4module.c
Function: destroy_application
Error: returning (PyObject*)NULL without setting an exception
3381 static PyObject *
3382 destroy_application(PyObject *self, PyObject *args, PyObject *keywds)
3383 {
3384     arm_error_t status;
3385 	ArmID *app_id;
3386 
3387 	/*
3388 	 * Supported calling signatures:
3389 	 *	destroy_application (app_id)
3390 	 */
3391 	static char *kwlist[] = {"app_id", NULL};
3392 
3393 	if (!PyArg_ParseTupleAndKeywords(args, keywds, "O:destroy_application", kwlist, &app_id))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
3394 		return NULL;
3395 	if (!ArmID_Object_Check(app_id))
when taking False path
3396 		return NULL;
3397 
3398 	status = arm_destroy_application(
3399 		&(app_id->arm_id),
3400 		0,
3401 		NULL); /* No buffers defined */
3402 	if (GETSTATE0->enableExceptions && (status != ARM_SUCCESS))
when considering range: 1 <= value <= 0x7fffffff
when considering range: -0x80000000 <= value <= -1
taking True path
3403 	{
3404 		set_arm_error (status, "arm_destroy_application");
3405 		return NULL;
3406 	}
3407 
3408 	/* Empty return */
3409 	Py_INCREF(Py_None);
3410 	return Py_None;
3411 }
returning (PyObject*)NULL without setting an exception
found 11 similar trace(s) to this