[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] compiling with -Wunused-parameter
From: |
Benno Schulenberg |
Subject: |
[Nano-devel] compiling with -Wunused-parameter |
Date: |
Thu, 10 Apr 2014 22:16:31 +0200 |
Hi all,
I've started compiling nano with -Wunused-parameter (not yet with
-Wextra, because that drowns me) and it finds quite a few. Attached
patch removes the first one of them: 'func_key' from get_shortcut().
Is it okay to apply this, Chris? Is that func_key parameter a remnant
from some past logic? Or is it there on purpose? Might it in future
become necessary to take functionness of a key into account while
parsing input?
Benno
--
http://www.fastmail.fm - Choose from over 50 domains or use your own
remove-func_key.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nano-devel] compiling with -Wunused-parameter,
Benno Schulenberg <=