From 0b7551c3df2b2a2d2653359fa8d521d23010e337 Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" Date: Thu, 20 Sep 2001 00:43:08 +0000 Subject: [PATCH] Initialize pin configuration description. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@68 81a1dc3b-b13d-400b-aceb-764788c761c2 --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 6e9246dc..794a5a1c 100644 --- a/main.c +++ b/main.c @@ -520,6 +520,7 @@ int read_config(char * infile, char * config, unsigned int * pinno, p++; if (strcasecmp(configname, config) == 0) { + strlcpy(desc, "no description", desclen); rc = parse_config(lineno, infile, config, p, pinno, desc, desclen); if (rc) { fprintf(stderr, "%s: error parsing config file \"%s\" at line %d\n",