Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubitz committed Jun 5, 2024
1 parent b59382d commit ab40a39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -1040,8 +1040,6 @@ CBOREncoder_encode_date(CBOREncoderObject *self, PyObject *value)
// semantic type 100 or 1004

PyObject *tmp, *ret = NULL;
const char *buf;
Py_ssize_t length;
if (self->date_as_datetime) {
tmp = PyDateTimeAPI->DateTime_FromDateAndTime(
PyDateTime_GET_YEAR(value),
Expand Down

0 comments on commit ab40a39

Please sign in to comment.