From bd418160e14dcce7ef30fdd42865bd4d0c2b52df Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 25 Feb 2026 00:26:56 -0700 Subject: [PATCH] Removed four redundant inline comments in print_sha256_result so the function is cleaner without changing behavior or control flow. --- plugins/checksum/checksum.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index 0e1fe7e7..810875db 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -42,18 +42,14 @@ typedef struct { static void print_sha256_result (ChecksumCallbackInfo *info, const char *checksum, const char *filename, GError *error) { - // So then we get the next best available channel, since we always want to print at least somewhere, it's fine zoitechat_context *ctx = zoitechat_find_context(ph, info->servername, info->channel); if (!ctx) { - // before we print a private message to the wrong channel, we exit early if (info->send_message) { return; } - // if the context isn't found the first time, we search in the server ctx = zoitechat_find_context(ph, info->servername, NULL); if (!ctx) { - // The second time we exit early, since printing in another server isn't desireable return; } }