After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775747 - Remove double check on collection_path in secret-collection.c
Remove double check on collection_path in secret-collection.c
Status: RESOLVED FIXED
Product: libsecret
Classification: Other
Component: General
0.18.x
Other Linux
: Normal normal
: ---
Assigned To: libsecret maintainer(s)
libsecret maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-12-07 11:07 UTC by Garima
Modified: 2017-01-12 12:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove double check on collection_path in secret-collection.c (2.26 KB, patch)
2016-12-07 11:07 UTC, Garima
none Details | Review

Description Garima 2016-12-07 11:07:35 UTC
Created attachment 341534 [details] [review]
Remove double check on collection_path in secret-collection.c

In file secret-collection.c 
Found redundant code in function secret_collection_for_alias_sync(). 'collection_path' is double checked which is not required.

Applied Fix: Removed second check on 'collection_path'
Comment 1 Stef Walter 2017-01-12 12:11:14 UTC
Thanks! Merged into master.

Attachment 341534 [details] pushed as b9fbfbd - Remove double check on collection_path in secret-collection.c