CLEANUP: applet: Remove useless shadow pointer from appctx

This pointer was used during the appctx refactoring performed in 2.6. The
ctx union was still there and this pointer was used as the "shadow" of the
svcctx pointer used by most commands. In 2.7, the union was removed, making
the shadow pointer useless. Let's remove it now.
This commit is contained in:
Christopher Faulet 2026-04-21 07:52:57 +02:00
parent 24e05fe33a
commit b071e8b2f1

View File

@ -148,7 +148,6 @@ struct appctx {
/* here we have the service's context (CLI command, applet, etc) */
void *svcctx; /* pointer to a context used by the command, e.g. <storage> below */
struct {
void *shadow; /* shadow of svcctx above, do not use! */
char storage[APPLET_MAX_SVCCTX]; /* storage of svcctx above */
} svc; /* generic storage for most commands */
};