Remove unused "screen" & "line" arguments in draw_flow_entry(...)
function.

Signed-off-by: Vadim Kochan <vadi...@gmail.com>
---
 flowtop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flowtop.c b/flowtop.c
index ab3459a..cbd5a33 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -992,7 +992,7 @@ static void print_flow_peer_info(const struct flow_entry 
*n, enum flow_direction
                                      tmp, sizeof(tmp) - 1));
 }
 
-static void draw_flow_entry(WINDOW *scr, const struct flow_entry *n, int line)
+static void draw_flow_entry(const struct flow_entry *n)
 {
        char tmp[128];
 
@@ -1119,7 +1119,7 @@ static void draw_flows(WINDOW *screen, struct flow_list 
*fl,
                if (--skip >= 0)
                        continue;
 
-               draw_flow_entry(screen, n, line);
+               draw_flow_entry(n);
                line += row_width;
        }
 
-- 
2.6.3

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to