Open leha-bot opened 6 years ago
CRC duplication (by @crackedmind
)
https://github.com/procxx/tdesktop/blob/aca957595a0938345821994df85437b6fed574e2/Telegram/SourceFiles/core/utils.cpp#L387 https://github.com/procxx/tdesktop/blob/aca957595a0938345821994df85437b6fed574e2/Telegram/SourceFiles/codegen/emoji/generator.cpp#L127 https://github.com/procxx/tdesktop/blob/aca957595a0938345821994df85437b6fed574e2/Telegram/SourceFiles/codegen/style/generator.cpp#L44
Long UI controller duplication logic (by @crackedmind
)
Stanislav Ershov, [05.12.17 22:05] https://github.com/procxx/tdesktop/blob/aca957595a0938345821994df85437b6fed574e2/Telegram/SourceFiles/ui/widgets/input_fields.cpp#L2155 https://github.com/procxx/tdesktop/blob/aca957595a0938345821994df85437b6fed574e2/Telegram/SourceFiles/ui/widgets/input_fields.cpp#L2895
media_player_cover.cpp media_player_widget.cpp media_clip_controller.cpp
all share the same code for bounding player positionMs
core/utils.cpp implements sha and md5 functions despite dependency on openssl libs
Search for case mtpc_messageEmpty
- the code around it is repeated at least in 3 different files
The Duplicating code never changes...
We should clean at most all code duplications. Feel free to add URLs to duplicated code chunks.