diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2022-09-21 03:00:30 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-09-21 09:14:34 +0200 |
commit | 6fbf7d34b535ab19b69da491687f574f336ac94a (patch) | |
tree | 1e875b52df7fd0033213552c0e7a0785fa4e0eb4 /lib/multihandle.h | |
parent | 8e5b1b66c11c7470ae51f4d77e041271e63374f8 (diff) | |
download | curl-6fbf7d34b535ab19b69da491687f574f336ac94a.tar.gz |
unit test 1655: make it C89-compliant
Initializations performed in unit test 1655 use automatic variables in
aggregates and thus can only be computed at run-time. Using gcc in C89
dialect mode produces warning messages like:
unit1655.c:96:7: warning: initializer element is not computable at load time [-Wpedantic]
96 | { toolong, DOH_DNS_NAME_TOO_LONG }, /* expect early failure */
| ^~~~~~~
Fix the problem by converting these automatic pointer variables to
static arrays.
Closes #9551
Diffstat (limited to 'lib/multihandle.h')
0 files changed, 0 insertions, 0 deletions