Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0d765e38
Commit
0d765e38
authored
Mar 20, 2019
by
Stéphane Wirtel
Committed by
Miss Islington (bot)
Mar 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-36362: Avoid unused variables when HAVE_DYNAMIC_LOADING is not defined (GH-12430)
https://bugs.python.org/issue36362
parent
c70ab02d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Python/import.c
Python/import.c
+3
-2
No files found.
Python/import.c
View file @
0d765e38
...
...
@@ -1983,13 +1983,14 @@ _imp_extension_suffixes_impl(PyObject *module)
/*[clinic end generated code: output=0bf346e25a8f0cd3 input=ecdeeecfcb6f839e]*/
{
PyObject
*
list
;
const
char
*
suffix
;
unsigned
int
index
=
0
;
list
=
PyList_New
(
0
);
if
(
list
==
NULL
)
return
NULL
;
#ifdef HAVE_DYNAMIC_LOADING
const
char
*
suffix
;
unsigned
int
index
=
0
;
while
((
suffix
=
_PyImport_DynLoadFiletab
[
index
]))
{
PyObject
*
item
=
PyUnicode_FromString
(
suffix
);
if
(
item
==
NULL
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment