[xml] 'action' type setting should not require 'id' attribute
remove unused variable
fix uninitialized variable
Merge pull request #5688 from tamland/settings-actionid

fix 'action' type addon settings not executed if id attribute is missing