mirror of
https://github.com/curl/curl.git
synced 2026-08-03 07:20:28 +03:00
tests: constify, make consts static
- lib509: constify an input string. - add `static` to const data, where missing. - tool1394: fix indentation. Closes #17736
This commit is contained in:
parent
db512ee267
commit
1ec0da0149
14 changed files with 33 additions and 32 deletions
|
|
@ -135,9 +135,9 @@ static CURLcode test_unit1655(char *arg)
|
|||
const size_t buflen = sizeof(buffer);
|
||||
const size_t magic1 = 9765;
|
||||
size_t olen1 = magic1;
|
||||
const char *sunshine1 = "a.com";
|
||||
const char *dotshine1 = "a.com.";
|
||||
const char *sunshine2 = "aa.com";
|
||||
static const char *sunshine1 = "a.com";
|
||||
static const char *dotshine1 = "a.com.";
|
||||
static const char *sunshine2 = "aa.com";
|
||||
size_t olen2;
|
||||
DOHcode ret2;
|
||||
size_t olen;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue