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) <noreply@anthropic.com>
This commit is contained in:
parent
3cf511c992
commit
74557ab64d
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
* In the online flow, stage 4 would first POST to
|
||||||
* APPLE_DEVICE_ACTIVATION_URL with:
|
* APPLE_DEVICE_ACTIVATION_URL with:
|
||||||
* Content-Type: application/x-www-form-urlencoded
|
* Content-Type: application/x-www-form-urlencoded
|
||||||
* Accept: *\/*
|
* Accept: all types
|
||||||
* Body: "activation-info=" + URL-encoded activation plist
|
* Body: "activation-info=" + URL-encoded activation plist
|
||||||
* The HTTP response body + headers would then be passed here.
|
* The HTTP response body + headers would then be passed here.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
* bypass execution. Orchestration only -- no business logic.
|
* bypass execution. Orchestration only -- no business logic.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue