projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310518d
)
src/output/output-item.h (outpt_item_ref): Add WARN_UNUSED_RESULT attribute
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 1 May 2021 05:30:14 +0000
(07:30 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 1 May 2021 05:30:14 +0000
(07:30 +0200)
src/output/output-item.h
patch
|
blob
|
history
diff --git
a/src/output/output-item.h
b/src/output/output-item.h
index 475504acb51ffcabfb2510ee27464b45af5b7c15..cac3d471797d689da1a780cc938cde8e56c55484 100644
(file)
--- a/
src/output/output-item.h
+++ b/
src/output/output-item.h
@@
-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 *);