[ANNOUNCE] vdr-autosort-0.0.5
Commit Message
CopyPoint schrieb:
>
> Here's something new to play with:
>
> http://www.copypointburscheid.de/linux/vdr-autosort-0.0.5.tgz
>
> Have fun
>
> Thorsten
Thank you :)
Attached is a small patch, that gets rid of the compiler-warnings.
Frank
Comments
At 09:46 12.11.05 +0100, you wrote:
>Attached is a small patch, that gets rid of the compiler-warnings.
Thank you, i didn't get any warning here.
Is there any option to force the compiler to be more strict?
I'm back on monday, have a nice WE
Thorsten
@@ -844,7 +844,7 @@
// Is everybody there?
group = AutoGroups.GetFirstByOrder();
bool foundNext;
- while (group = AutoGroups.GetNextByOrder(group->OIdx())){
+ while ((group = AutoGroups.GetNextByOrder(group->OIdx()))){
foundNext = false;
for (cChannel *channel = Channels.Get(Channels.GetNextGroup(firstGroupChIdx)); (channel && !foundNext); channel = Channels.Get(Channels.GetNextGroup(channel->Index())))
{
@@ -862,7 +862,7 @@
{
foundNext = false;
group = AutoGroups.GetFirstByOrder();
- while (group = AutoGroups.GetNextByOrder(group->OIdx())){
+ while ((group = AutoGroups.GetNextByOrder(group->OIdx()))){
if (strcmp(channel->Name(),group->Name()) == 0)
{
foundNext = true;
@@ -880,7 +880,7 @@
cAutoGroup *nextGroup = group;
cChannel *channel = Channels.Get(group->GetChIndex());
- while (nextGroup = AutoGroups.GetNextByOrder(group->OIdx())){
+ while ((nextGroup = AutoGroups.GetNextByOrder(group->OIdx()))){
channel = Channels.Get(Channels.GetNextGroup(group->GetChIndex()));
//dsyslog("CheckOrder: Group is: %s Next should be: %s Next is: %s",group->Name(),nextGroup->Name(),channel->Name());
if (!strcmp(channel->Name(),nextGroup->Name())){