Browse files

Remove redundant filter function

  • Loading branch information...
1 parent 0a08d57 commit 922b555fb71a7a3bb3c465435cf1e949afc2fc2b Kevin Jones committed Jun 23, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 test/simple/test-os.js
View
2 test/simple/test-os.js
@@ -78,9 +78,7 @@ if (process.platform != 'sunos') {
var interfaces = os.networkInterfaces();
console.error(interfaces);
-var filter = function(e) { return e.address == '127.0.0.1'; };
var expected = { address: '127.0.0.1', family: 'IPv4', internal: true };
-
var found = false;
for (var iname in interfaces) {
var inter = interfaces[iname];

0 comments on commit 922b555

Please sign in to comment.