diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-12-08 11:09:10 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-12-08 11:12:13 +0100 |
commit | f474c5031e5b8c5833342a504c6e33941a5103f0 (patch) | |
tree | 3e797a93eea85fe6c82c20f1f762bfc4f4c0d39d /privs.h | |
parent | bf0df3ec1875df4b167aedd0fff25e7e56408b6b (diff) |
all: Remove unused longindex parameter to getopt_long()
All tools (except mausezahn) use getopt_long() and pass a pointer to a
local opt_index variable for the longindex parameter. However, this
variable is never read afterwards.
According to getopt(3) it's perfectly fine to pass NULL as the longindex
parameter instead, so do that.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'privs.h')
0 files changed, 0 insertions, 0 deletions