diff options
-rw-r--r-- | lib/internal/http2/core.js | 3 | ||||
-rwxr-xr-x | tools/cpplint.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index b78ecaf5ee..8e84eadbff 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1515,7 +1515,8 @@ function streamOnPause() { this[kHandle].readStop(); } -function afterShutdown() { +function afterShutdown(status) { + // Currently this status value is unused this.callback(); const stream = this.handle[kOwner]; if (stream) diff --git a/tools/cpplint.py b/tools/cpplint.py index 17f341a61d..bae2707476 100755 --- a/tools/cpplint.py +++ b/tools/cpplint.py @@ -636,7 +636,7 @@ _NULL_TOKEN_PATTERN = re.compile(r'\bNULL\b') _RIGHT_LEANING_POINTER_PATTERN = re.compile(r'[^=|(,\s><);&?:}]' r'(?<!(sizeof|return))' - r'\s\*[a-zA-z_][0-9a-zA-z_]*') + r'\s\*[a-zA-Z_][0-9a-zA-Z_]*') _regexp_compile_cache = {} |