@@ -531,7 +531,7 @@ def AddSourceToTarget(source, type, pbxp, xct):
531531 library_extensions = ["a" , "dylib" , "framework" , "o" ]
532532
533533 basename = posixpath .basename (source )
534- (root , ext ) = posixpath .splitext (basename )
534+ (_root , ext ) = posixpath .splitext (basename )
535535 if ext :
536536 ext = ext [1 :].lower ()
537537
@@ -696,7 +696,7 @@ def GenerateOutput(target_list, target_dicts, data, params):
696696 xcode_targets = {}
697697 xcode_target_to_target_dict = {}
698698 for qualified_target in target_list :
699- [build_file , target_name , toolset ] = gyp .common .ParseQualifiedTarget (
699+ [build_file , target_name , _toolset ] = gyp .common .ParseQualifiedTarget (
700700 qualified_target
701701 )
702702
@@ -1215,7 +1215,7 @@ def GenerateOutput(target_list, target_dicts, data, params):
12151215
12161216 # Add "sources".
12171217 for source in spec .get ("sources" , []):
1218- (source_root , source_extension ) = posixpath .splitext (source )
1218+ (_source_root , source_extension ) = posixpath .splitext (source )
12191219 if source_extension [1 :] not in rules_by_ext :
12201220 # AddSourceToTarget will add the file to a root group if it's not
12211221 # already there.
@@ -1227,7 +1227,7 @@ def GenerateOutput(target_list, target_dicts, data, params):
12271227 # it's a bundle of any type.
12281228 if is_bundle :
12291229 for resource in tgt_mac_bundle_resources :
1230- (resource_root , resource_extension ) = posixpath .splitext (resource )
1230+ (_resource_root , resource_extension ) = posixpath .splitext (resource )
12311231 if resource_extension [1 :] not in rules_by_ext :
12321232 AddResourceToTarget (resource , pbxp , xct )
12331233 else :
0 commit comments