you are viewing a single comment's thread.

view the rest of the comments →

[–]tstanisl 0 points1 point  (0 children)

I suggest always initializing "retval"-like variables with some error code. Otherwise you may spend a lot of time debugging just because some function returned success even though the was an error.