[Python-checkins] Remove unused UNKNOWN macros from cursor.h and prepare_protocol.h (GH-27885)

corona10 webhook-mailer at python.org
Sun Aug 22 09:23:53 EDT 2021


https://github.com/python/cpython/commit/6dd1cdb0cfd6427925863e0ff7ad3fde0d824a8b
commit: 6dd1cdb0cfd6427925863e0ff7ad3fde0d824a8b
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at innova.no>
committer: corona10 <donghee.na92 at gmail.com>
date: 2021-08-22T22:23:45+09:00
summary:

Remove unused UNKNOWN macros from cursor.h and prepare_protocol.h (GH-27885)

files:
M Modules/_sqlite/cursor.h
M Modules/_sqlite/prepare_protocol.h

diff --git a/Modules/_sqlite/cursor.h b/Modules/_sqlite/cursor.h
index 9a5e9eede2302..29f52b92189be 100644
--- a/Modules/_sqlite/cursor.h
+++ b/Modules/_sqlite/cursor.h
@@ -54,5 +54,4 @@ typedef struct
 
 int pysqlite_cursor_setup_types(PyObject *module);
 
-#define UNKNOWN (-1)
 #endif
diff --git a/Modules/_sqlite/prepare_protocol.h b/Modules/_sqlite/prepare_protocol.h
index f24cef5497139..afc55a8c1c4eb 100644
--- a/Modules/_sqlite/prepare_protocol.h
+++ b/Modules/_sqlite/prepare_protocol.h
@@ -32,5 +32,4 @@ typedef struct
 
 int pysqlite_prepare_protocol_setup_types(PyObject *module);
 
-#define UNKNOWN (-1)
 #endif



More information about the Python-checkins mailing list