refactor: improve code using cppcheck

This commit is contained in:
2026-01-30 02:16:40 +01:00
parent 035483f54f
commit 6ca04a9392
8 changed files with 725 additions and 726 deletions

View File

@@ -12,7 +12,7 @@
*
* @return Bot pointer.
*/
tgbot_s *tgbot_new(char *token);
tgbot_s *tgbot_new(const char *token);
/**
* @brief Cleans the memory.