Skip to content

Commit 06ddd9f

Browse files
committed
remove ununsed variable
1 parent 6aa3872 commit 06ddd9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymysqlreplication/row_event.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ def __read_values_name(
203203
elif column.type == FIELD_TYPE.YEAR:
204204
return self.packet.read_uint8() + 1900
205205
elif column.type == FIELD_TYPE.ENUM:
206-
enum_index = self.packet.read_uint_by_size(column.size)
206+
self.packet.read_uint_by_size(column.size)
207207
# unsupported
208208
return None
209209
elif column.type == FIELD_TYPE.SET:
210-
bit_mask = self.packet.read_uint_by_size(column.size)
210+
self.packet.read_uint_by_size(column.size)
211211
# unsupported
212212
return None
213213
elif column.type == FIELD_TYPE.BIT:

0 commit comments

Comments
 (0)