Skip to content

Commit 3e389b3

Browse files
committed
fix warnings
1 parent b8bd6a5 commit 3e389b3

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Modules/hmacmodule.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -271,14 +271,6 @@ get_hmacmodule_state(PyObject *module)
271271
return (hmacmodule_state *)state;
272272
}
273273

274-
static inline hmacmodule_state *
275-
get_hmacmodule_state_by_cls(PyTypeObject *cls)
276-
{
277-
void *state = PyType_GetModuleState(cls);
278-
assert(state != NULL);
279-
return (hmacmodule_state *)state;
280-
}
281-
282274
// --- HMAC Object ------------------------------------------------------------
283275

284276
typedef Hacl_Streaming_HMAC_agile_state HACL_HMAC_state;

0 commit comments

Comments
 (0)