Home
last modified time | relevance | path

Searched hist:2140 (Results 1 – 2 of 2) sorted by relevance

/unit/src/
H A Dnxt_websocket_accept.cdiff 2140:423ecac30dba Thu Jun 16 01:00:00 UTC 2022 Andrew Clayton <andrew@digital-domain.net> Marked a couple of variables 'const'.

As was pointed out by the cppcheck[0] static code analysis utility we
can mark a couple of variables as 'const'. This acts as a hint to the
compiler about our intentions and the compiler will tell us when we
deviate from them.

[0]: https://cppcheck.sourceforge.io/
H A Dnxt_time_parse.cdiff 2140:423ecac30dba Thu Jun 16 01:00:00 UTC 2022 Andrew Clayton <andrew@digital-domain.net> Marked a couple of variables 'const'.

As was pointed out by the cppcheck[0] static code analysis utility we
can mark a couple of variables as 'const'. This acts as a hint to the
compiler about our intentions and the compiler will tell us when we
deviate from them.

[0]: https://cppcheck.sourceforge.io/