Initialize pin configuration description.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@68 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2001-09-20 00:43:08 +00:00
parent 9003ed1183
commit 0b7551c3df
1 changed files with 1 additions and 0 deletions

1
main.c
View File

@ -520,6 +520,7 @@ int read_config(char * infile, char * config, unsigned int * pinno,
p++; p++;
if (strcasecmp(configname, config) == 0) { if (strcasecmp(configname, config) == 0) {
strlcpy(desc, "no description", desclen);
rc = parse_config(lineno, infile, config, p, pinno, desc, desclen); rc = parse_config(lineno, infile, config, p, pinno, desc, desclen);
if (rc) { if (rc) {
fprintf(stderr, "%s: error parsing config file \"%s\" at line %d\n", fprintf(stderr, "%s: error parsing config file \"%s\" at line %d\n",