Skip to content

Commit bfca9f5

Browse files
authored
Merge pull request #15502 from anntzer/compilewarningnull
MNT: Get rid of trivial compiler warning.
2 parents ea79c2a + 2ff74db commit bfca9f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/py_exceptions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ class exception : public std::exception
6363
return (errorcode); \
6464
}
6565

66-
#define CALL_CPP_CLEANUP(name, a, cleanup) CALL_CPP_FULL(name, a, cleanup, NULL)
66+
#define CALL_CPP_CLEANUP(name, a, cleanup) CALL_CPP_FULL(name, a, cleanup, 0)
6767

68-
#define CALL_CPP(name, a) CALL_CPP_FULL(name, a, , NULL)
68+
#define CALL_CPP(name, a) CALL_CPP_FULL(name, a, , 0)
6969

7070
#define CALL_CPP_INIT(name, a) CALL_CPP_FULL(name, a, , -1)
7171

0 commit comments

Comments
 (0)