mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: e2d79e7170
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-10-04 (Tue, 04 Oct 2011)
Origin message was:
------------------
*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 was generated by Migit
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