From e2d79e7170ed4a4c6f67930e3e504a0e4a4bd406 Mon Sep 17 00:00:00 2001 From: thilo Date: Tue, 4 Oct 2011 10:28:04 +0000 Subject: [PATCH] *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 --- src/gui/upnpbrowser.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/gui/upnpbrowser.cpp b/src/gui/upnpbrowser.cpp index 0b2643188..a5453031d 100644 --- a/src/gui/upnpbrowser.cpp +++ b/src/gui/upnpbrowser.cpp @@ -598,23 +598,18 @@ bool CUpnpBrowserGui::selectItem(std::string id) bool rchanged = true; neutrino_msg_t msg; neutrino_msg_data_t data; - std::vector *entries; + std::vector *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::listattribs; std::listresults; std::list::iterator i;