diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py
index eacc97f01a3c6d1d5c17860bfcbf3c41223c4143..2db5e90aef8bf63c678563f6fd5a95abc84fab6f 100644
--- a/Cython/Compiler/Nodes.py
+++ b/Cython/Compiler/Nodes.py
@@ -4914,6 +4914,9 @@ static int __Pyx_PrintOne(PyObject *o) {
     if (PyFile_WriteString("\n", f) < 0)
         return -1;
     return 0;
+    /* the line below is just to avoid compiler
+     * compiler warnings about unused functions */
+    __Pyx_Print(NULL, 0);
 }
 
 #else /* Python 3 has a print function */