Files
node/lib
Ethan Arrowood e432c2bfaa fs: remove unused argument from copyObject()
The fs function copyObject() had two arguments:
source and target. On the first line of the function it
assigned the target variable to:
arguments.length >= 2 ? target : {};

The function copyObject() was not called directly by
any test, but it is called in other fs functions. When it
was called it was only ever called with a single argument,
source. Thus I have removed the target argument and assigned
it to an empty object like it was being assigned to in the
original ternary operator.

PR-URL: https://github.com/nodejs/node/pull/10041
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2016-12-14 15:17:03 +01:00
..
2016-10-18 15:29:38 -07:00
2016-10-14 13:37:12 -07:00
2016-10-19 08:57:20 -07:00
2016-10-16 22:01:02 +02:00
2016-11-29 07:33:24 -05:00
2016-10-31 15:51:57 -04:00
2016-10-18 15:38:43 -07:00
2016-11-01 23:40:44 +01:00
2016-10-04 12:17:32 -04:00
2016-10-04 12:17:32 -04:00
2016-08-10 23:41:28 +02:00
2016-12-06 12:37:24 -08:00
2016-10-26 19:24:22 -07:00
2016-11-06 20:18:56 +02:00