gcc 13.3 with flag -Og complains that some variables may be used
uninitialized.  My own analysis says the warnings are benign and
the code correct, but it would be nice to quiet these warnings.


diff --git a/uip/mhparse.c b/uip/mhparse.c
index 7f3fac8d..3b0ea26c 100644
--- a/uip/mhparse.c
+++ b/uip/mhparse.c
@@ -1921,7 +1921,7 @@ openQuoted (CT ct, char **file)
     char *bufp = NULL;
     size_t buflen;
     ssize_t gotlen;
-    unsigned char mask;
+    unsigned char mask = '\0';
     CE ce = &ct->c_cefile;
     /* sbeck -- handle suffixes */
     CI ci;
diff --git a/uip/post.c b/uip/post.c
index c6ca548e..2850c779 100644
--- a/uip/post.c
+++ b/uip/post.c
@@ -1283,7 +1283,7 @@ putadr (char *name, char *aka, struct mailname *mp, FILE *out,
 {
     int len;
     bool saveappend = false;
-    unsigned int shlen;
+    unsigned int shlen = 0;
     char *cp;
     char buffer[BUFSIZ];
 

Reply via email to