ResourceEditor: Make static code checker happy

Change-Id: Ic9a13a145c153a2fa2aeee61f4a97af274509a58
Reviewed-by: Orgad Shaneh <orgads@gmail.com>