summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlina Moravcova Varekova <pmoravco@redhat.com>2017-04-19 19:51:47 +0200
committerPavlina Moravcova Varekova <pmoravco@redhat.com>2017-04-19 19:51:47 +0200
commitd458c43765df3eccbfce6e388826214bb720c758 (patch)
treea5a5738a4f7c1da14f6b2899ec937f9ae2423292
parenta239ddefa90575ce80ed4436beb4005a97e32644 (diff)
downloadrpm-pavlinas_p123.tar.gz
Remove unnecessary memsetpavlinas_p123
-rw-r--r--lib/rpmfi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c
index 320296a4d..c4268daaa 100644
--- a/lib/rpmfi.c
+++ b/lib/rpmfi.c
@@ -1005,7 +1005,6 @@ rpmFileAction rpmfilesDecideFate(rpmfiles ofi, int oix,
* Only regular files and symlinks might need a backup, everything
* else falls through here with FA_CREATE.
*/
- memset(buffer, 0, sizeof(buffer));
if (dbWhat == REG) {
int oalgo, nalgo;
size_t odiglen, ndiglen;