diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-30 00:26:21 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-30 00:26:21 +0100 |
commit | afc72f1f4752340bfd119e3619a79fa2743d6478 (patch) | |
tree | 292419b7e813da50e40488ad9bb16975651acaa8 /src/util | |
parent | 11627b38bbbe1942f8ad2667bc8297478879c6bd (diff) |
make static analysis happy
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/lang.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/lang.c b/src/util/lang.c index 3f6a4291f..ffc50a557 100644 --- a/src/util/lang.c +++ b/src/util/lang.c @@ -50,6 +50,8 @@ TALER_language_matches (const char *language_pattern, char *qp = strtok_r (NULL, ";", &sptr2); double q = 1.0; + if (NULL == lp) + continue; /* should be impossible, but makes static analysis happy */ while (isspace ((int) *lp)) lp++; if (NULL != qp) |