diff -r 3ede487187f2 -r fab36645aa7d src/eric7/Plugins/VcsPlugins/vcsGit/GitDiffGenerator.py --- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitDiffGenerator.py Mon Apr 22 15:15:36 2024 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitDiffGenerator.py Mon Apr 22 18:23:20 2024 +0200 @@ -128,17 +128,17 @@ args.append("--") if isinstance(fn, list): - dname, fnames = self.vcs.splitPathList(fn) + dname, _fnames = self.vcs.splitPathList(fn) self.vcs.addArguments(args, fn) if args2: self.vcs.addArguments(args2, fn) else: - dname, fname = self.vcs.splitPath(fn) + dname, _fname = self.vcs.splitPath(fn) args.append(fn) if args2: args2.append(fn) elif diffMode == "stash": - dname, fname = self.vcs.splitPath(fn) + dname, _fname = self.vcs.splitPath(fn) args = self.vcs.initCommand("stash") args.append("show") args.append("--patch") @@ -168,13 +168,13 @@ return True @pyqtSlot(int, QProcess.ExitStatus) - def __procFinished(self, exitCode, exitStatus): + def __procFinished(self, _exitCode, _exitStatus): """ Private slot connected to the finished signal. - @param exitCode exit code of the process + @param _exitCode exit code of the process (unused) @type int - @param exitStatus exit status of the process + @param _exitStatus exit status of the process (unused) @type QProcess.ExitStatus """ if ( @@ -205,7 +205,7 @@ output widget @type bool """ - prefix, filenames = line.split(" a/", 1) + _prefix, filenames = line.split(" a/", 1) oldFile, newFile = filenames.split(" b/", 1) if isTopDiff: self.__fileSeparators.append(