summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-08-14 07:13:05 (GMT)
committerThomas Heller <theller@ctypes.org>2006-08-14 07:13:05 (GMT)
commitacdedfbf0ac787de07ff1bf36e935ce1230db530 (patch)
tree6cf8513c8c3b65ee79cdc94aaae5379c9b1efc50 /Modules
parent4c7317768b6e0358c56fd626d92a867919177db0 (diff)
downloadcpython-acdedfbf0ac787de07ff1bf36e935ce1230db530.zip
cpython-acdedfbf0ac787de07ff1bf36e935ce1230db530.tar.gz
cpython-acdedfbf0ac787de07ff1bf36e935ce1230db530.tar.bz2
Remove unused, buggy test function.
Fixes klockwork issue #207.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ctypes/_ctypes_test.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c
index 99cc7a9..7331d01 100644
--- a/Modules/_ctypes/_ctypes_test.c
+++ b/Modules/_ctypes/_ctypes_test.c
@@ -197,18 +197,6 @@ EXPORT(PY_LONG_LONG) _testfunc_callback_q_qf(PY_LONG_LONG value,
#endif
-EXPORT(int) _testfunc_ppp(char ***p)
-{
- static char message[] = "Hello, World";
- if (p) {
- *p = (char **)malloc(sizeof(char *));
- printf("malloc returned %p\n", *p);
- **p = message;
- return 1;
- }
- return 0;
-}
-
typedef struct {
char *name;
char *value;