On Sun, Jul 1, 2012 at 9:21 PM, Reinhard Tartler <[email protected]> wrote:
> On Sun, Jul 1, 2012 at 8:51 PM, Måns Rullgård <[email protected]> wrote:
>> Reinhard Tartler <[email protected]> writes:
>>
>>> Also use it in the declaration of the various exit_program
>>> implementations in avtools.
>>>
>>> inspired by a clang-scan report.
>>> ---
>>>  cmdutils.h             |    2 +-
>>>  libavutil/attributes.h |    6 ++++++
>>>  2 files changed, 7 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/cmdutils.h b/cmdutils.h
>>> index 793a1e8..4a62298 100644
>>> --- a/cmdutils.h
>>> +++ b/cmdutils.h
>>> @@ -373,7 +373,7 @@ FILE *get_preset_file(char *filename, size_t 
>>> filename_size,
>>>   * Do all the necessary cleanup and abort.
>>>   * This function is implemented in the avtools, not cmdutils.
>>>   */
>>> -void exit_program(int ret);
>>> +void exit_program(int ret) av_noreturn;
>>
>> Let me make this clear:
>>
>> av_noreturn void exit_program(int ret);
>
> damn, I forgot to stage this hunk. Done so locally.

pushed in the form quoted above


-- 
regards,
    Reinhard
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to