Commit aa6aa8b5 authored by Sebastian Dröge's avatar Sebastian Dröge

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

gerror: Add a missing precondition assertion in documentation

See merge request !677
parents b72b4e2d 321f9140
Pipeline #60293 passed with stages
in 20 minutes and 20 seconds
......@@ -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;
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment