diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-21 12:28:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 12:28:18 +0100 |
commit | 001881829f73a870d3dfbb7747c9da84c8359f36 (patch) | |
tree | f2db25c5eaa581ce8e1ef7e04b11269300385134 | |
parent | 384e037f52b933fdd3cb84966208f8e658212ffe (diff) | |
parent | c961731c94d13a96ac94237c945357beb9217499 (diff) | |
download | rspamd-001881829f73a870d3dfbb7747c9da84c8359f36.tar.gz rspamd-001881829f73a870d3dfbb7747c9da84c8359f36.zip |
Merge pull request #3902 from citrin/warnings
[Minor] Fix compiler warnings in src/libutil/util.c
-rw-r--r-- | src/libutil/util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c index d1cc65c1c..27631ae65 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -1359,9 +1359,6 @@ gint rspamd_read_passphrase (gchar *buf, gint size, gint rwflag, gpointer key) { #ifdef HAVE_READPASSPHRASE_H - gint len = 0; - gchar pass[BUFSIZ]; - if (readpassphrase ("Enter passphrase: ", buf, size, RPP_ECHO_OFF | RPP_REQUIRE_TTY) == NULL) { return 0; @@ -2459,4 +2456,4 @@ rspamd_ptr_array_shuffle (GPtrArray *ar) g_ptr_array_index (ar, j) = g_ptr_array_index (ar, i); g_ptr_array_index (ar, i) = t; } -}
\ No newline at end of file +} |