diff --git a/xpcom/typelib/xpidl/xpidl_header.c b/xpcom/typelib/xpidl/xpidl_header.c index d3febeb5e29..da3daa48ea1 100644 --- a/xpcom/typelib/xpidl/xpidl_header.c +++ b/xpcom/typelib/xpidl/xpidl_header.c @@ -977,14 +977,10 @@ forward_dcl(TreeState *state) { IDL_tree iface = state->tree; const char *className = IDL_IDENT(IDL_FORWARD_DCL(iface).ident).str; - GSList *doc_comments = IDL_IDENT(IDL_INTERFACE(iface).ident).comments; if (!className) return FALSE; - if (doc_comments != NULL) - printlist(state->file, doc_comments); - fprintf(state->file, "class %s; /* forward declaration */\n\n", className); return TRUE; }