fixed coverity scan errors of type "logically dead code"
fixed coverity scan errors of type "logically dead code"

vividos/RemotePhotoTool,vividos/RemotePhotoTool,vividos/RemotePhotoTool,vividos/RemotePhotoTool