]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unused, buggy test function.
authorThomas Heller <theller@ctypes.org>
Mon, 14 Aug 2006 07:13:05 +0000 (07:13 +0000)
committerThomas Heller <theller@ctypes.org>
Mon, 14 Aug 2006 07:13:05 +0000 (07:13 +0000)
Fixes klockwork issue #207.

Modules/_ctypes/_ctypes_test.c

index 99cc7a963487e5fbbb09228746c3ab7e4db15bce..7331d01dcd53515b955a93ab52dc11449f3767f2 100644 (file)
@@ -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;