src/output/output-item.h (outpt_item_ref): Add WARN_UNUSED_RESULT attribute
[pspp] / src / output / output-item.h
index 475504acb51ffcabfb2510ee27464b45af5b7c15..cac3d471797d689da1a780cc938cde8e56c55484 100644 (file)
@@ -109,7 +109,7 @@ struct output_item
     char *cached_label;
   };
 
-struct output_item *output_item_ref (const struct output_item *);
+struct output_item *output_item_ref (const struct output_item *) WARN_UNUSED_RESULT;
 void output_item_unref (struct output_item *);
 bool output_item_is_shared (const struct output_item *);
 struct output_item *output_item_unshare (struct output_item *);