summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/object.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-14 17:12:25 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-14 17:12:25 +0000
commit9be0d70ea7fa2cc63e4995b57706a41714033cb9 (patch)
treeb2a32c9c408b4638a1a37259be0bae4fe90a6bd8 /src/pulsecore/object.h
parentef83a195251271f59feda68dba20b53d1634402f (diff)
make newer gcc shut up
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1817 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/object.h')
-rw-r--r--src/pulsecore/object.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pulsecore/object.h b/src/pulsecore/object.h
index 9c62f74a..562fd113 100644
--- a/src/pulsecore/object.h
+++ b/src/pulsecore/object.h
@@ -96,8 +96,7 @@ static inline pa_object* pa_object_cast(void *o) {
#define PA_DEFINE_CHECK_TYPE(c, parent) \
int c##_check_type(const char *type) { \
pa_assert(type); \
- if (type == #c || \
- strcmp(type, #c) == 0) \
+ if (strcmp(type, #c) == 0) \
return 1; \
return parent##_check_type(type); \
} \