mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-02 11:41:07 +02:00
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:
parent
24e05fe33a
commit
b071e8b2f1
@ -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 */
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user