From 069b800a5b930edd28fbf15729eca218a1552a57 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 11 Jun 2008 21:36:26 +0200 Subject: [PATCH] applied pending fix by Greg --- Cython/Compiler/PyrexTypes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index c6506ae0..092d2536 100644 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -814,8 +814,6 @@ class CFuncType(CType): if (not entity_code and cc) or entity_code.startswith("*"): entity_code = "(%s%s)" % (cc, entity_code) cc = "" - if not entity_code: - entity_code = "()" return self.return_type.declaration_code( "%s%s(%s)%s" % (cc, entity_code, arg_decl_code, trailer), for_display, dll_linkage, pyrex) -- 2.26.2