*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:
thilo
2011-10-04 10:28:04 +00:00
parent d6b0f49e23
commit e2d79e7170

View File

@@ -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;