Skip to content

Commit 2b95924

Browse files
committed
Silence C unused var warning
1 parent ebfec19 commit 2b95924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.cext/include/cpython/unicodeobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ PyAPI_FUNC(int) _PyTruffleUnicode_KIND(PyObject*);
325325
#define PyUnicode_KIND(op) ((enum PyUnicode_Kind)_PyTruffleUnicode_KIND(_PyObject_CAST(op)))
326326

327327
/* Return a void pointer to the raw unicode buffer. */
328-
static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
328+
static inline void* _PyUnicode_COMPACT_DATA(PyObject *Py_UNUSED(op)) {
329329
// strings are never compact in GraalPy
330330
return NULL;
331331
}

0 commit comments

Comments
 (0)