]> sigrok.org Git - libsigrok.git/commitdiff
Fix test failure
authorMarvin Schmidt <redacted>
Tue, 26 Nov 2013 07:50:52 +0000 (08:50 +0100)
committerUwe Hermann <redacted>
Sat, 7 Dec 2013 11:25:18 +0000 (12:25 +0100)
The GError object has to initialized to NULL before being passed to
g_file_set_contents or it will throw the following critical warning

GLib-CRITICAL **: g_file_set_contents: assertion 'error == NULL || *error == NULL' failed

and return FALSE, which leads to failed assertion and subsequently
to the test failing


No differences found