Remove spurious warnings of the like '__objc_class_ref_NSObject defined but

not used'

From-SVN: r48648
This commit is contained in:
Nicola Pero 2002-01-08 18:03:11 +00:00
parent c9f115ad25
commit c18736ac11

View File

@ -8308,6 +8308,7 @@ handle_class_ref (chain)
decl = build_decl (VAR_DECL, get_identifier (string), string_type_node);
DECL_INITIAL (decl) = exp;
TREE_STATIC (decl) = 1;
TREE_USED (decl) = 1;
pushdecl (decl);
rest_of_decl_compilation (decl, 0, 0, 0);