Commit 90d481e
src: remove unused env variables in node_util
Currently the following compiler warnings are generated:
../src/node_util.cc:59:16:
warning: unused variable 'env' [-Wunused-variable]
Environment* env = Environment::GetCurrent(args);
^
../src/node_util.cc:78:16:
warning: unused variable 'env' [-Wunused-variable]
Environment* env = Environment::GetCurrent(args);
^
2 warnings generated.
This commit removes the two unused variables.
PR-URL: #24820
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 5f60ed7 commit 90d481eCopy full SHA for 90d481e
File tree
Expand file treeCollapse file tree
1 file changed
+0
-2
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+0
-2
lines changedOpen diff view settings
Collapse file
-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
60 | 59 | |
61 | 60 | |
62 | 61 | |
| ||
75 | 74 | |
76 | 75 | |
77 | 76 | |
78 | | - |
79 | 77 | |
80 | 78 | |
81 | 79 | |
|
0 commit comments