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:
parent
6c47ddd783
commit
2962b3785b
1
main.c
1
main.c
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue