Skip to content

label: Remove a redundant assignment

Timm Bäder requested to merge wip/baedert/for-master into main

clang-tidy says:

gtklabel.c:1188:15: warning: Although the value stored to 'mid' is used in the enclosing expression, the value is never actually read from 'mid' min = mid = text_width; ^ ~~~~~~~~~~

Which seems right since mid will be assigned to at the beginning of the next loop iteration anyway.

Merge request reports