]> git.kaiwu.me - nginx.git/commit
QUIC: moved a variable initialization near to its use.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 27 Sep 2021 12:38:55 +0000 (15:38 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Mon, 27 Sep 2021 12:38:55 +0000 (15:38 +0300)
commita5b5b6ca0f36ebba327e35c5d5159458df86b60e
tree0548b2681ea4acef7c591dac0491573243a22476
parentf2859767d4218e60f8ac3adbac6123c8a1f68279
QUIC: moved a variable initialization near to its use.

This tends to produce slightly more optimal code with pos == NULL
when built with Clang on low optimization levels.

Spotted by Ruslan Ermilov.
src/event/quic/ngx_event_quic_transport.c