Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn if result of ts_set_flags_32 is not used
The ts_set_flags_32 function takes a bitmap and flags and returns an updated bitmap. However, if the returned value is not used, the function call has no effect. An unused result may indicate the improper use of this function. This patch adds the qualifier pg_nodiscard to the function which triggers a warning if the returned value is not used.
- Loading branch information