Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
79954c0e
Commit
79954c0e
authored
Nov 20, 2020
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix reference to unused C utility functions.
parent
72de7afd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Utility/Optimize.c
Cython/Utility/Optimize.c
+2
-1
No files found.
Cython/Utility/Optimize.c
View file @
79954c0e
...
...
@@ -606,7 +606,8 @@ static double __Pyx__PyObject_AsDouble(PyObject* obj) {
float_value
=
PyNumber_Float
(
obj
);
if
((
0
))
goto
bad
;
// avoid "unused" warnings
(
void
)
__Pyx_PyObject_CallOneArg
;
(
void
)
__Pyx__PyBytes_AsDouble
;
(
void
)
__Pyx_PyBytes_AsDouble
;
(
void
)
__Pyx_PyByteArray_AsDouble
;
(
void
)
__Pyx_PyUnicode_AsDouble
;
#else
PyNumberMethods
*
nb
=
Py_TYPE
(
obj
)
->
tp_as_number
;
...
...
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