Commit 5f52b83a authored by Stefan Behnel's avatar Stefan Behnel

fix an "unused arg" C++ compiler warning in test suite

parent 445f978e
...@@ -128,6 +128,7 @@ def len_uchar(Py_UNICODE uchar): ...@@ -128,6 +128,7 @@ def len_uchar(Py_UNICODE uchar):
>>> len_uchar(ord('A')) >>> len_uchar(ord('A'))
1 1
""" """
assert uchar # just to avoid C compiler unused arg warning
return len(uchar) return len(uchar)
def index_uchar(Py_UNICODE uchar, Py_ssize_t i): def index_uchar(Py_UNICODE uchar, Py_ssize_t i):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment