Fix: eclipseState no longer shadowed.
Squash warnings by removing or commenting out unused parameters.
Suppress unused argument warning.

The eclState argument was added in PR#634, and may be needed later.
Until then, this silences the warning generated.
Merge pull request #641 from atgeirr/fix-warnings

Fix warnings