bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] fix compiler warnings in hurd/daemons


From: Flavio Cruz
Subject: [PATCH] fix compiler warnings in hurd/daemons
Date: Tue, 29 Dec 2015 18:02:22 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

daemons: Fix compiler warnings.

* daemons/lmail.c: Initialize cached to 0.

diff --git a/daemons/lmail.c b/daemons/lmail.c
index 963f5dc..33ccf66 100644
--- a/daemons/lmail.c
+++ b/daemons/lmail.c
@@ -510,7 +510,7 @@ main (int argc, char **argv)
   else
     /* Multiple recipients.  */
     {
-      int cached;              /* Temporary processed input file.  */
+      int cached = 0;          /* Temporary processed input file.  */
 
       ex = cache (in, file ?: "-", &params, &cached);
       if (! ex)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]