diff options
author | jbj <devnull@localhost> | 2001-04-29 22:43:01 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-04-29 22:43:01 +0000 |
commit | 81ac89f4e6f176f9095e73b34d94d4ccf12da237 (patch) | |
tree | 85ef09056d85954efdee78fa6875611d460b538d /lib/rpmlead.c | |
parent | c83cfd5ed5b9637a090e57bef5aca5d5b96d00f4 (diff) | |
download | rpm-81ac89f4e6f176f9095e73b34d94d4ccf12da237.tar.gz rpm-81ac89f4e6f176f9095e73b34d94d4ccf12da237.tar.bz2 rpm-81ac89f4e6f176f9095e73b34d94d4ccf12da237.zip |
- more boring lclint annotations and fiddles.
CVS patchset: 4725
CVS date: 2001/04/29 22:43:01
Diffstat (limited to 'lib/rpmlead.c')
-rw-r--r-- | lib/rpmlead.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c index 9b262e10f..366b05be1 100644 --- a/lib/rpmlead.c +++ b/lib/rpmlead.c @@ -44,6 +44,7 @@ int writeLead(FD_t fd, struct rpmlead *lead) int readLead(FD_t fd, struct rpmlead *lead) { + memset(lead, 0, sizeof(*lead)); if (timedRead(fd, (char *)lead, sizeof(*lead)) != sizeof(*lead)) { rpmError(RPMERR_READ, _("read failed: %s (%d)\n"), Fstrerror(fd), errno); |