GNOME Bugzilla – Bug 780312
keyboard: Fix check for existing shortcut settings
Last modified: 2017-03-23 16:17:16 UTC
Minor issue uncovered by coverity
Created attachment 348325 [details] [review] keyboard: Fix check for existing shortcut settings From a Coverity scan: panels/keyboard/cc-keyboard-manager.c:208: unreachable: Since the loop increment "i++;" is unreachable, the loop body will never execute more than once. This seems like a logic thinko introduced in commit 3207fe97ec516c11f2f781269f9342f36fa8161b . In practice it was unlikely to be a problem since we don't have repeated shortcut gsettings key names in all our KeyListEntries files.
Review of attachment 348325 [details] [review]: Sure.
Attachment 348325 [details] pushed as 034181d - keyboard: Fix check for existing shortcut settings