commit | f1b34a248e9785e8cc0d28a1685d2cf4460bb256 | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Thu Jun 14 21:14:36 2018 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jun 15 14:49:44 2018 +0200 |
tree | a366c76efda2a62e8a612fc0f98181aa32c4345c | |
parent | eb0e0f7d3d4a9c585421d05b19ca71df5d69fc47 [diff] |
block-qdict: Tweak qdict_flatten_qdict(), qdict_flatten_qlist() qdict_flatten_qdict() skips copying scalars from @qdict to @target when the two are the same. Fair enough, but it uses a non-obvious test for "same". Replace it by the obvious one. While there, improve comments. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>