mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtdocbook: Coverity 86996
This commit is contained in:
parent
751505e6ab
commit
82e8b80612
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ SetMapping(
|
||||||
fprintf(stderr, "SetMapping: Map not initialized.\n");
|
fprintf(stderr, "SetMapping: Map not initialized.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
strcpy(buf, s);
|
snprintf(buf, sizeof(buf), "%s", s);
|
||||||
name = val = buf;
|
name = val = buf;
|
||||||
while (*val && !IsWhite(*val)) val++; /* point past end of name */
|
while (*val && !IsWhite(*val)) val++; /* point past end of name */
|
||||||
if (*val) {
|
if (*val) {
|
||||||
|
|
Loading…
Reference in a new issue