1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-04-21 22:59:16 +02:00

Merge branch 'gerror-docs-omission' into 'master'

gerror: Add a missing precondition assertion in documentation

See merge request 
This commit is contained in:
Sebastian Dröge 2019-02-18 14:13:33 +00:00
commit aa6aa8b5e4

@ -126,6 +126,8 @@
* gint fd;
* int saved_errno;
*
* g_return_val_if_fail (error == NULL || *error == NULL, -1);
*
* fd = open ("file.txt", O_RDONLY);
* saved_errno = errno;
*