Searched hist:2140 (Results 1 – 2 of 2) sorted by relevance
/unit/src/ |
H A D | nxt_websocket_accept.c | diff 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 D | nxt_time_parse.c | diff 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/
|