diff --git a/tools/qfcc/source/method.c b/tools/qfcc/source/method.c index e7bea93e3..30d409091 100644 --- a/tools/qfcc/source/method.c +++ b/tools/qfcc/source/method.c @@ -462,7 +462,8 @@ emit_methods (methodlist_t *methods, const char *name, int instance) warning (0, "Method `%c%s' not implemented", m->instance ? '-' : '+', m->name); } - count++; + if (m->def) + count++; } if (!count) return 0;