aboutsummaryrefslogtreecommitdiff
path: root/lib/service
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-11-18 00:21:31 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-11-18 00:21:31 +0000
commit942f9e8554c495e6782d93524c8e820ec548a8a9 (patch)
treeb278bc9ce124ecd40a6c698409cf52ac306ad4e6 /lib/service
parentc8c1d6da7043122e5d77c20f8ce61d677519bb8b (diff)
downloadenigma2-942f9e8554c495e6782d93524c8e820ec548a8a9.tar.gz
enigma2-942f9e8554c495e6782d93524c8e820ec548a8a9.zip
code cleanup/optimization
Diffstat (limited to 'lib/service')
-rw-r--r--lib/service/iservice.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h
index 98b9ba0b..b7b34fe2 100644
--- a/lib/service/iservice.h
+++ b/lib/service/iservice.h
@@ -109,7 +109,7 @@ public:
{
if (type != c.type)
return 0;
- return /* (flags == c.flags) && */ (memcmp(data, c.data, sizeof(int)*8)==0) && (path == c.path);
+ return (memcmp(data, c.data, sizeof(int)*8)==0) && (path == c.path);
}
bool operator!=(const eServiceReference &c) const
{
@@ -122,11 +122,6 @@ public:
if (type > c.type)
return 0;
-
-/* if (flags < c.flags)
- return 1;
- if (flags > c.flags)
- return 0; */
int r=memcmp(data, c.data, sizeof(int)*8);
if (r)