diff options
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/cpp/_tokens.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/soltools/cpp/_tokens.c b/soltools/cpp/_tokens.c index e31ccbd1c4ff..c764886593d6 100644 --- a/soltools/cpp/_tokens.c +++ b/soltools/cpp/_tokens.c @@ -295,7 +295,8 @@ void size_t nby; nby = (char *) str->lp - (char *) str->bp; - memmove(dtr->tp, str->bp, nby); + if (nby) + memmove(dtr->tp, str->bp, nby); } /* |