Win32: Fix compiler warnings about potentially uninitialized functions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20657 57a11ea4-9604-0410-9ed3-97b8803252fd
pull/1/head
Christian Stimming 15 years ago
parent 633015f8f3
commit bb18641d0c

@ -1628,7 +1628,7 @@ gnc_is_xml_data_file_v2(const gchar *name, gboolean *with_encoding)
if (is_gzipped_file(name))
{
gzFile *file;
gzFile *file = NULL;
char first_chunk[256];
int num_read;

@ -625,7 +625,7 @@ void qofEntrySetInvDiscType (GncEntry *entry, const char *type_string)
void qofEntrySetInvDiscHow (GncEntry *entry, const char *type)
{
GncDiscountHow how;
GncDiscountHow how = GNC_DISC_PRETAX;
if (!entry) return;
gncEntryBeginEdit (entry);

Loading…
Cancel
Save