Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 387c350

Browse filesBrowse files
committed
Fix compile error on MSVC compiler.
fixes PyMySQL#121
1 parent d8b4d34 commit 387c350
Copy full SHA for 387c350

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎_mysql.c

Copy file name to clipboardExpand all lines: _mysql.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ _mysql_ConnectionObject_Initialize(
521521
#if HAVE_OPENSSL
522522
char *key = NULL, *cert = NULL, *ca = NULL,
523523
*capath = NULL, *cipher = NULL;
524-
PyObject *ssl_keepref[5] = {};
524+
PyObject *ssl_keepref[5] = {NULL};
525525
int n_ssl_keepref = 0;
526526
#endif
527527
char *host = NULL, *user = NULL, *passwd = NULL,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.