mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Marked all unused args on non-W32 platforms.
This commit is contained in:
parent
e1f4154d75
commit
0a5f742466
84 changed files with 864 additions and 224 deletions
|
@ -115,7 +115,9 @@ clear_helptags (audit_ctx_t ctx)
|
|||
static const char *
|
||||
event2str (audit_event_t event)
|
||||
{
|
||||
int idx = eventstr_msgidxof (event);
|
||||
/* We need the cast so that compiler does not complain about an
|
||||
always true comparison (>= 0) for an unsigned value. */
|
||||
int idx = eventstr_msgidxof ((int)event);
|
||||
if (idx == -1)
|
||||
return "Unknown event";
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue