Fix an API argument that must be initialized.
[GB.POPPLER] * BUG: Fix an API argument that must be initialized.
This commit is contained in:
parent
1794f4e072
commit
6318d80cfc
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ static GEOM_RECTF *make_rect(PopplerRectangle *rect)
|
|||
BEGIN_METHOD(PdfDocument_new, GB_STRING path; GB_STRING password)
|
||||
|
||||
const char *password;
|
||||
GError *error;
|
||||
GError *error = NULL;
|
||||
std::string rpasswd;
|
||||
|
||||
if (GB.LoadFile(STRING(path), LENGTH(path), &THIS->buffer, &THIS->length))
|
||||
|
|
Loading…
Reference in a new issue