Fix crash due to non-initialized variable. (Why didn't gcc complain here...)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21784 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2011-12-28 21:11:53 +00:00
parent 944ea0918a
commit 2d4d0d490d

View File

@ -1740,8 +1740,8 @@ gnc_plugin_page_report_exportpdf_cb( GtkAction *action, GncPluginPageReport *rep
GncPluginPageReportPrivate *priv = GNC_PLUGIN_PAGE_REPORT_GET_PRIVATE(report);
gchar *job_name = report_create_jobname(priv);
GncInvoice *invoice;
GncOwner *owner;
KvpFrame *kvp;
GncOwner *owner = NULL;
KvpFrame *kvp = NULL;
// Do we have an invoice report?
invoice = lookup_invoice(priv);