freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check return of function


From: Alexei Podtelezhnikov
Subject: Re: Check return of function
Date: Thu, 20 Aug 2020 13:41:32 -0400

Hi Kleber,

> https://github.com/klebertarcisio/freetype2-1/commit/aab3c841f08c3a67914fbd0167ef4ff174116ccf

What is wrong with a couple of housekeeping lines before returning the
error? Why do you think that it is necessary to drop everything and
run for cover? In fact, libraries are not supposed to panic when
something goes wrong. They are supposed to deal with it with dignity
and some housekeeping before returning would not hurt.

Alexei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]