]> git.kaiwu.me - njs.git/commit
Suppressed spurious compilation warning with gcc-7 and older.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 24 May 2021 12:33:36 +0000 (12:33 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 24 May 2021 12:33:36 +0000 (12:33 +0000)
commit9284453e020c35e2682b63efb74e7ebffc7d2e9b
treebf79571cd031ae4f2045d0d95147214a6b49088e
parentb0a4358a86a73408530d0ed8717b8d5a3ceeb2fb
Suppressed spurious compilation warning with gcc-7 and older.

src/njs_regexp.c:1335:19: error: ‘pos’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
    pos = njs_string_offset(s.start, s.start + s.size, pos) - s.start;
src/njs_regexp.c