json_load_file: Initialize the error struct properly
authorPetri Lehtinen <petri@digip.org>
Tue, 27 Oct 2009 15:46:57 +0000 (17:46 +0200)
committerPetri Lehtinen <petri@digip.org>
Tue, 27 Oct 2009 15:56:02 +0000 (17:56 +0200)
Failing to do this has the effect that the error message is not
returned when the input file cannot be opened (e.g. if it doesn't
exist).

Thanks to Martin Vopatek for reporting.


No differences found