Linux: Fix warn_unused_result error (issue #1911)

This commit is contained in:
Marshall Greenblatt 2016-06-03 11:33:06 -04:00
parent 99bf1b8458
commit e0fd09ed20
1 changed files with 2 additions and 1 deletions

View File

@ -232,7 +232,8 @@ void CefBrowserPlatformDelegateNativeLinux::ViewText(const std::string& text) {
std::string openCommand("xdg-open ");
openCommand += newName;
system(openCommand.c_str());
int result = system(openCommand.c_str());
ALLOW_UNUSED_LOCAL(result);
}
void CefBrowserPlatformDelegateNativeLinux::HandleKeyboardEvent(