summaryrefslogtreecommitdiff
path: root/lib/rpmgi.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2016-07-04 15:36:48 +0300
committerFlorian Festi <ffesti@redhat.com>2016-07-29 17:41:36 +0200
commit0e51d170042a878abb31d84e904a8ac3ca0d8254 (patch)
tree40f32cecf0ed1e5edd5edceb50e9ff538bcc294b /lib/rpmgi.c
parent1ac507f15f014e69b926a1c2bf9a46a2a4dcaff3 (diff)
downloadrpm-0e51d170042a878abb31d84e904a8ac3ca0d8254.tar.gz
Remove some unnecessary assignments flagged by cppcheck
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r--lib/rpmgi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c
index 1e82446aa..c6663fde1 100644
--- a/lib/rpmgi.c
+++ b/lib/rpmgi.c
@@ -214,7 +214,6 @@ rpmgi rpmgiNew(rpmts ts, rpmgiFlags flags, ARGV_const_t argv)
gi->i = -1;
gi->errors = 0;
- gi->flags = flags;
gi->argv = argvNew();
gi->argc = 0;
rpmgiGlobArgv(gi, argv);