From bfe80fd22080fb33781b67157f34ea5114d3a4b2 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 23 Oct 2013 19:50:28 +0200 Subject: python/apt_instmodule.cc: Make RETURN(x) be return on Python 2 This fixes a small compiler notice. --- python/apt_instmodule.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/apt_instmodule.cc b/python/apt_instmodule.cc index 0f0a187a..8094550a 100644 --- a/python/apt_instmodule.cc +++ b/python/apt_instmodule.cc @@ -52,7 +52,7 @@ static struct PyModuleDef moduledef = { extern "C" PyObject * PyInit_apt_inst() #else extern "C" void initapt_inst() -#define RETURN(x) +#define RETURN(x) return #endif { #if PY_MAJOR_VERSION >= 3 -- cgit v1.2.3