sectionsd: remove never used var &6 init var

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2080 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 369e67d26c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-02-01 (Wed, 01 Feb 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-02-01 13:00:25 +00:00
parent 13afc4f95f
commit 17c12418ec
5 changed files with 15 additions and 17 deletions

View File

@@ -81,6 +81,7 @@ SIevent::SIevent(const t_original_network_id _original_network_id, const t_trans
eventID = _event_id;
table_id = 0xFF; /* not set */
version = 0xFF;
running = 0;
/* contentClassification = "";
userClassification = "";
itemDescription = "";
@@ -336,7 +337,7 @@ void SIevent::dump(void) const
for_each(ratings.begin(), ratings.end(), printSIparentalRating());
for_each(linkage_descs.begin(), linkage_descs.end(), printSIlinkage());
}
#if 0
void SIevent::dumpSmall(void) const
{
for (std::map<std::string, std::string>::const_iterator it = langName.begin() ;
@@ -358,6 +359,7 @@ void SIevent::dumpSmall(void) const
for_each(ratings.begin(), ratings.end(), printSIparentalRating());
for_each(linkage_descs.begin(), linkage_descs.end(), printSIlinkage());
}
#endif
/*
// Liest n Bytes aus einem Socket per read
inline int readNbytes(int fd, char *buf, int n)
@@ -520,7 +522,7 @@ void SIevents::removeOldEvents(long seconds)
// Set has the important property that inserting a new element into a set does not
// invalidate iterators that point to existing elements.
if (copy_of_event.times.size() != 0)
if (!copy_of_event.times.empty())
#ifdef DEBUG
assert((++insert(it, copy_of_event)) == it);
#else