Browse Source

lint: fix a cpplint error

Added a NOLINT so that cpplint won't complain about some code.
v0.11.8-release
Trevor Norris 11 years ago
parent
commit
7503e4c882
  1. 2
      src/node.cc

2
src/node.cc

@ -3158,7 +3158,7 @@ void Init(int* argc,
#ifdef __POSIX__ #ifdef __POSIX__
// Raise the open file descriptor limit. // Raise the open file descriptor limit.
{ { // NOLINT (whitespace/braces)
struct rlimit lim; struct rlimit lim;
if (getrlimit(RLIMIT_NOFILE, &lim) == 0 && lim.rlim_cur != lim.rlim_max) { if (getrlimit(RLIMIT_NOFILE, &lim) == 0 && lim.rlim_cur != lim.rlim_max) {
// Do a binary search for the limit. // Do a binary search for the limit.

Loading…
Cancel
Save