mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
use empty to check string
Origin commit data
------------------
Commit: 2b5e7b5ba3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)
This commit is contained in:
@@ -92,7 +92,7 @@ int CPluginList::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
const char * dummy = NULL;
|
||||
|
||||
number = -1;
|
||||
if (actionKey != "")
|
||||
if (!actionKey.empty())
|
||||
number = atoi(actionKey.c_str());
|
||||
|
||||
if (number > -1)
|
||||
|
Reference in New Issue
Block a user