From 74557ab64dbbf6c8990ea7ac2267026c86a58ba6 Mon Sep 17 00:00:00 2001 From: tr4m0ryp Date: Sun, 5 Apr 2026 03:36:29 +0200 Subject: [PATCH] fix: Remove last two compiler warnings (comment and macro redef) Escaped block comment in session.c and removed redundant _GNU_SOURCE define in main.c (already set via -D flag in Makefile). Build now produces zero warnings under -Wall -Wextra. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/activation/session.c | 2 +- src/main.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/activation/session.c b/src/activation/session.c index 11d437f..67ea8a0 100644 --- a/src/activation/session.c +++ b/src/activation/session.c @@ -274,7 +274,7 @@ int session_activate(device_info_t *dev, plist_t activation_record, * In the online flow, stage 4 would first POST to * APPLE_DEVICE_ACTIVATION_URL with: * Content-Type: application/x-www-form-urlencoded - * Accept: *\/* + * Accept: all types * Body: "activation-info=" + URL-encoded activation plist * The HTTP response body + headers would then be passed here. * diff --git a/src/main.c b/src/main.c index c6849ed..cb209b2 100644 --- a/src/main.c +++ b/src/main.c @@ -6,7 +6,6 @@ * bypass execution. Orchestration only -- no business logic. */ -#define _GNU_SOURCE #include #include #include