summaryrefslogtreecommitdiff
path: root/python/apt_instmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2013-10-23 19:50:28 +0200
committerJulian Andres Klode <jak@debian.org>2013-10-23 19:50:28 +0200
commitbfe80fd22080fb33781b67157f34ea5114d3a4b2 (patch)
tree41e3870dbc75d9c4a2621a11d2dd0c87f99d17d8 /python/apt_instmodule.cc
parent3328ee63967cbcb858f9ba081efe5de0459ed27a (diff)
downloadpython-apt-bfe80fd22080fb33781b67157f34ea5114d3a4b2.tar.gz
python/apt_instmodule.cc: Make RETURN(x) be return on Python 2
This fixes a small compiler notice.
Diffstat (limited to 'python/apt_instmodule.cc')
-rw-r--r--python/apt_instmodule.cc2
1 files changed, 1 insertions, 1 deletions
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