From 942f9e8554c495e6782d93524c8e820ec548a8a9 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 18 Nov 2005 00:21:31 +0000 Subject: code cleanup/optimization --- lib/service/iservice.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/service') 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) -- cgit v1.2.3