Add missing else directive

Add missing else directive to fix compiler warning: control reaches
end of non-void function
Merge pull request #2742 from stewid/add_missing_else_directive

Add missing else directive