Ettercap/ettercap — pull request #423 by koeppea (2013-12-11 19:55:16+00:00)
Title: Fix unused param warinings

I checked the top warning messages and found it worth fixing some after -Wextra Cflag has been introduced.
The biggest point have now been the -Wunused-parameter warnings:
```
$ make 2> ../compile-warnings.txt >/dev/null
$ grep '\-W' ../compile-warnings.txt | perl -pe 's/^.+-W([^\]]+).*$/$1/' | sort | uniq -c | sort -nr
268 unused-parameter
74 missing-field-initializers
27 format
10 redundant-decls
8 implicit-function-declaration
5 sign-compare
4 unused-function
3 pointer-to-int-cast
1 unused-but-set-variable
1 empty-body
$
```

So this PR intends to fix this type of warnings.
In the curses widgets I left the parameter of the function without any obvious dependency but because I could think of a potential future use, I left it and just voided it as the most of the changes.