diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-10-05 17:31:41 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-10-05 17:31:41 +0300 |
commit | 93438a0d9e61bf382be3b648c0504fcda2f9c748 (patch) | |
tree | e808e6234bfff5c1ab6ad096ceb47f6f260dbb29 | |
parent | 096562c0b14656354fcb0eb7b7c6d524f5fb1f1d (diff) | |
download | unit-93438a0d9e61bf382be3b648c0504fcda2f9c748.tar.gz unit-93438a0d9e61bf382be3b648c0504fcda2f9c748.tar.bz2 |
Fixed building with old GCC after the previous change.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_string.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_string.c b/src/nxt_string.c index 28b9f887..8ac873b1 100644 --- a/src/nxt_string.c +++ b/src/nxt_string.c @@ -405,10 +405,9 @@ nxt_strverscmp(const u_char *s1, const u_char *s2) /* Fall through. */ case st_frac: + default: return diff; } - - nxt_unreachable(); } |