Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36b1cc2

Browse files
authored
src: remove unused variables from report
PR-URL: #60047 Reviewed-By: theanarkh <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
1 parent 5d843c9 commit 36b1cc2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/node_report.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,6 @@ static void PrintSystemInformation(JSONWriter* writer) {
757757

758758
writer->json_objectstart("userLimits");
759759
struct rlimit limit;
760-
std::string soft, hard;
761760

762761
for (size_t i = 0; i < arraysize(rlimit_strings); i++) {
763762
if (getrlimit(rlimit_strings[i].id, &limit) == 0) {
@@ -793,8 +792,6 @@ static void PrintLoadedLibraries(JSONWriter* writer) {
793792

794793
// Obtain and report the node and subcomponent version strings.
795794
static void PrintComponentVersions(JSONWriter* writer) {
796-
std::stringstream buf;
797-
798795
writer->json_objectstart("componentVersions");
799796

800797
for (const auto& version : per_process::metadata.versions.pairs()) {

0 commit comments

Comments
 (0)