diff options
Diffstat (limited to 'src/util/lang.c')
-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) |