mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
src: remove unused variables from report
PR-URL: https://github.com/nodejs/node/pull/60047 Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
parent
5d843c914e
commit
36b1cc2fcf
|
|
@ -757,7 +757,6 @@ static void PrintSystemInformation(JSONWriter* writer) {
|
|||
|
||||
writer->json_objectstart("userLimits");
|
||||
struct rlimit limit;
|
||||
std::string soft, hard;
|
||||
|
||||
for (size_t i = 0; i < arraysize(rlimit_strings); i++) {
|
||||
if (getrlimit(rlimit_strings[i].id, &limit) == 0) {
|
||||
|
|
@ -793,8 +792,6 @@ static void PrintLoadedLibraries(JSONWriter* writer) {
|
|||
|
||||
// Obtain and report the node and subcomponent version strings.
|
||||
static void PrintComponentVersions(JSONWriter* writer) {
|
||||
std::stringstream buf;
|
||||
|
||||
writer->json_objectstart("componentVersions");
|
||||
|
||||
for (const auto& version : per_process::metadata.versions.pairs()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user