{"thread":{"id":"64310","subject":"[PATCH] [PATCH] [Outreachy]: remove outdated NEEDSWORK comment","startedAt":"2025-10-13T18:02:56Z","lastAt":"2025-10-13T18:02:56Z","messageCount":1,"participants":["Okhuomon Ajayi"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"528647","messageId":"20251013180217.248177-1-okhuomonajayi54@gmail.com","threadId":"64310","inReplyTo":null,"subject":"[PATCH] [PATCH] [Outreachy]: remove outdated NEEDSWORK comment","fromName":"Okhuomon Ajayi","fromEmail":"okhuomonajayi54@gmail.com","sentAt":"2025-10-13T18:02:17Z","receivedAt":"2025-10-13T18:02:56Z","isPatch":true,"sender":{"key":"okhuomonajayi54@gmail.com","avatar":null},"body":"The NEEDSWORK comment about const correctness is no longer needed.\nThe hashmap API mandates that cmpfn_data is const, and casting to\nopt (non-const) is the only reasonable approach. No functional change\nis required, and this commit clarifies the code for future readers.\n\nSigned-off-by: Okhuomon Ajayi <okhuomonajayi54@gmail.com>\n---\n patch-ids.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/patch-ids.c b/patch-ids.c\nindex b6b808332f..24309913b9 100644\n--- a/patch-ids.c\n+++ b/patch-ids.c\n@@ -42,7 +42,7 @@ static int patch_id_neq(const void *cmpfn_data,\n \t\t\tconst void *keydata UNUSED)\n {\n \t\n-\tconst struct diff_options *opt = (void *)cmpfn_data;\n+        struct diff_options *opt = (void *)cmpfn_data;\n \tstruct patch_id *a, *b;\n \n \ta = container_of(eptr, struct patch_id, ent);\n-- \n2.43.0\n\n"}]}