Hmmm...yes I have also seen some calls like mine in other plugins. Let's say it 
this way: if never ever a programming error occurs than it is useless to check 
for ```NULL``` in this case. But whom am I to think that there never will be 
errors in the future? So I would always check pointers on the "boundaries" 
functions and just maybe not on internal static functions. In the case of an 
error it still prevents the user from a crash.

But for now I will keep the code like that. What about writing some own Geany 
debugging macros which use glib macros if compiled in and if not still 
guarantee an defined action and consistent error output among geany and geany 
plugins?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/commit/109b8d079a59ba35e8aba5da960fc5b10f03ea7f#commitcomment-23741476

Reply via email to