remove unneeded code
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 18 Feb 2007 09:59:53 +0000 (09:59 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sun, 18 Feb 2007 09:59:53 +0000 (09:59 +0000)
lib/dvb/db.cpp

index cf65569081aa8bd125eda4686d4e58a754501687..8d41430f29468906ffabf01ee0f8c23f8c9dfcde 100644 (file)
@@ -668,11 +668,8 @@ void eDVBDB::loadBouquet(const char *path)
                                e->name = line+offs;
                                read_descr=false;
                        }
                                e->name = line+offs;
                                read_descr=false;
                        }
-                       else if (!strncmp(line, "#NAME ", 6) || !strncmp(line, "#NAME: ", 7))
-                       {
-                               int offs = line[5] == ':' ? 7 : 6;
-                               bouquet.m_bouquet_name=line+offs;
-                       }
+                       else if (!strncmp(line, "#NAME ", 6))
+                               bouquet.m_bouquet_name=line+6;
                        continue;
                }
        }
                        continue;
                }
        }