mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:58:02 +03:00
tool_formparse: fix variable may be used before its value is set
Warning by icc Closes #9179
This commit is contained in:
parent
07535a4f87
commit
6b6fe4fec5
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ static int read_field_headers(struct OperationConfig *config,
|
|||
size_t pos = 0;
|
||||
bool incomment = FALSE;
|
||||
int lineno = 1;
|
||||
char hdrbuf[999]; /* Max. header length + 1. */
|
||||
char hdrbuf[999] = ""; /* Max. header length + 1. */
|
||||
|
||||
for(;;) {
|
||||
int c = getc(fp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue