diff -r 14b40afccd69 -r 6198190bc121 targets/toolchain_makefile.py --- a/targets/toolchain_makefile.py Tue Oct 03 16:31:31 2017 +0300 +++ b/targets/toolchain_makefile.py Thu Oct 05 16:38:49 2017 +0300 @@ -88,7 +88,7 @@ srcfiles = [] cflags = [] wholesrcdata = "" - for Location, CFilesAndCFLAGS, DoCalls in self.CTRInstance.LocationCFilesAndCFLAGS: + for _Location, CFilesAndCFLAGS, _DoCalls in self.CTRInstance.LocationCFilesAndCFLAGS: # Get CFiles list to give it to makefile for CFile, CFLAGS in CFilesAndCFLAGS: CFileName = os.path.basename(CFile) @@ -118,8 +118,8 @@ command = [token % beremizcommand for token in cmd.split(' ')] # Call Makefile to build PLC code and link it with target specific code - status, result, err_result = ProcessLogger(self.CTRInstance.logger, - command).spin() + status, _result, _err_result = ProcessLogger(self.CTRInstance.logger, + command).spin() if status: self.md5key = None self.CTRInstance.logger.write_error(_("C compilation failed.\n"))