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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user