1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Delete unused variables and unreachable statements. #1834

This commit is contained in:
dmiller
2019-12-30 06:46:33 +00:00
parent 65450a0654
commit 02212559d2
6 changed files with 0 additions and 13 deletions

View File

@@ -353,7 +353,6 @@ class NmapOutputViewer (gtk.VBox):
# Seek to the end of the most recent read.
self.command_execution.stdout_file.seek(self.output_file_pointer)
pos = self.command_execution.stdout_file.tell()
try:
new_output = self.command_execution.stdout_file.read()
@@ -362,8 +361,6 @@ class NmapOutputViewer (gtk.VBox):
return
self.output_file_pointer = self.command_execution.stdout_file.tell()
# print "read %d -> %d %d" % (
# pos, self.output_file_pointer, len(new_output))
v_adj = self.scrolled.get_vadjustment()
if new_output and v_adj is not None: