@@ -69,7 +69,7 @@ function configure (gyp, argv, callback) {
6969 // into devdir. Otherwise only install if they're not already there.
7070 gyp . opts . ensure = gyp . opts . tarball ? false : true
7171
72- gyp . commands . install ( [ release . version ] , function ( err , version ) {
72+ gyp . commands . install ( [ release . version ] , function ( err ) {
7373 if ( err ) return callback ( err )
7474 log . verbose ( 'get node dir' , 'target node version installed:' , release . versionDir )
7575 nodeDir = path . resolve ( gyp . devDir , release . versionDir )
@@ -188,7 +188,7 @@ function configure (gyp, argv, callback) {
188188 if ( ! name ) return runGyp ( )
189189 var fullPath = path . resolve ( name )
190190 log . verbose ( name , 'checking for gypi file: %s' , fullPath )
191- fs . stat ( fullPath , function ( err , stat ) {
191+ fs . stat ( fullPath , function ( err ) {
192192 if ( err ) {
193193 if ( err . code == 'ENOENT' ) {
194194 findConfigs ( ) // check next gypi filename
@@ -275,7 +275,7 @@ function configure (gyp, argv, callback) {
275275 var gyp_script = path . resolve ( __dirname , '..' , 'gyp' , 'gyp_main.py' )
276276 var addon_gypi = path . resolve ( __dirname , '..' , 'addon.gypi' )
277277 var common_gypi = path . resolve ( nodeDir , 'include/node/common.gypi' )
278- fs . stat ( common_gypi , function ( err , stat ) {
278+ fs . stat ( common_gypi , function ( err ) {
279279 if ( err )
280280 common_gypi = path . resolve ( nodeDir , 'common.gypi' )
281281
@@ -329,7 +329,7 @@ function configure (gyp, argv, callback) {
329329 } )
330330 }
331331
332- function onCpExit ( code , signal ) {
332+ function onCpExit ( code ) {
333333 if ( code !== 0 ) {
334334 callback ( new Error ( '`gyp` failed with exit code: ' + code ) )
335335 } else {
@@ -492,7 +492,7 @@ PythonFinder.prototype = {
492492 }
493493 var pythonPath = this . resolve ( rootDir , 'Python27' , 'python.exe' )
494494 this . log . verbose ( 'ensuring that file exists:' , pythonPath )
495- this . stat ( pythonPath , function ( err , stat ) {
495+ this . stat ( pythonPath , function ( err ) {
496496 if ( err ) {
497497 if ( err . code == 'ENOENT' ) {
498498 this . failNoPython ( )
0 commit comments