summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-05-16 18:39:39 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-05-16 18:39:39 +0300
commite28c45b427949709cf8565b429059fd95a6a13e0 (patch)
treefaa255f5a9729acf0eccb218ad09cdad1f03b28d
parent90bf8adc058142a3ef0653d4d8c765c13356f886 (diff)
downloadmailutils-e28c45b427949709cf8565b429059fd95a6a13e0.tar.gz
mailutils-e28c45b427949709cf8565b429059fd95a6a13e0.tar.bz2
Fix the use of uninitialized variable.
-rw-r--r--mail/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/util.c b/mail/util.c
index ff3798fc6..28d1e62af 100644
--- a/mail/util.c
+++ b/mail/util.c
@@ -313,7 +313,7 @@ util_command_list (void *table, size_t nmemb, size_t size)
int i;
char *p;
int cols = util_screen_columns ();
- int pos;
+ int pos = 0;
for (p = table, i = 0; i < nmemb; i++, p += size)
{

Return to:

Send suggestions and report system problems to the System administrator.