avoid future chance of using uninitialized memory
[gnupg.git] / util / iobuf.c
index 35de020..a330460 100644 (file)
@@ -1107,7 +1107,7 @@ iobuf_open( const char *fname )
     IOBUF a;
     FILEP_OR_FD fp;
     file_filter_ctx_t *fcx;
-    size_t len;
+    size_t len = 0;
     int print_only = 0;
     int fd;