mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
*neutrino upnpbrowser: remove redundant null pointers
redundant condition (style) git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1746 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -598,23 +598,18 @@ bool CUpnpBrowserGui::selectItem(std::string id)
|
||||
bool rchanged = true;
|
||||
neutrino_msg_t msg;
|
||||
neutrino_msg_data_t data;
|
||||
std::vector<UPnPEntry> *entries;
|
||||
std::vector<UPnPEntry> *entries = NULL;
|
||||
unsigned int index, selected, dirnum;
|
||||
|
||||
index=0;
|
||||
selected=0;
|
||||
dirnum=0;
|
||||
entries=NULL;
|
||||
|
||||
while (loop)
|
||||
{
|
||||
updateTimes();
|
||||
if (rchanged)
|
||||
{
|
||||
if (entries)
|
||||
delete entries;
|
||||
entries=NULL;
|
||||
|
||||
std::list<UPnPAttribute>attribs;
|
||||
std::list<UPnPAttribute>results;
|
||||
std::list<UPnPAttribute>::iterator i;
|
||||
|
Reference in New Issue
Block a user