mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-27 03:10:23 -06:00
Fix compilation warnings in preparation for re-enabling the -Werror
compile flag. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7684 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a17b9305e7
commit
04b722206d
@ -4146,6 +4146,7 @@ AC_ARG_ENABLE(libguppitest, [ --disable-libguppitest Do not try to compil
|
||||
else
|
||||
LIBGUPPI_CFLAGS=`$GNOME_CONFIG $libguppiconf_args --cflags gtk libguppi`
|
||||
LIBGUPPI_LIBS=`$GNOME_CONFIG $libguppiconf_args --libs gtk libguppi`
|
||||
AS_SCRUB_INCLUDE(LIBGUPPI_CFLAGS)
|
||||
|
||||
libguppi_major_version=`$GNOME_CONFIG --modversion libguppi | \
|
||||
sed 's/libguppi-\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
|
@ -857,9 +857,8 @@ then
|
||||
|
||||
GUPPI_LIBS=`$GNOME_CONFIG --libs libguppi`
|
||||
GUPPI_CFLAGS=`$GNOME_CONFIG --cflags libguppi`
|
||||
LIBGUPPI_CHECK
|
||||
AS_SCRUB_INCLUDE(LIBGUPPI_CFLAGS)
|
||||
AS_SCRUB_INCLUDE(GUPPI_CFLAGS)
|
||||
LIBGUPPI_CHECK
|
||||
AC_SUBST(GUPPI_LIBS)
|
||||
AC_SUBST(GUPPI_CFLAGS)
|
||||
|
||||
|
@ -140,9 +140,9 @@ g_date_equals( gconstpointer gda, gconstpointer gdb )
|
||||
{
|
||||
if ( !g_date_valid( (GDate*)gda )
|
||||
|| !g_date_valid( (GDate*)gdb ) ) {
|
||||
DEBUG( "invalid: %.8x(%s), %.8x(%s)",
|
||||
gda, ( g_date_valid(gda) ? "" : "*" ),
|
||||
gdb, ( g_date_valid(gdb) ? "" : "*" ) );
|
||||
DEBUG( "invalid: %p(%s), %p(%s)",
|
||||
gda, ( g_date_valid((GDate*)gda) ? "" : "*" ),
|
||||
gdb, ( g_date_valid((GDate*)gdb) ? "" : "*" ) );
|
||||
}
|
||||
return ( g_date_compare( (GDate*)gda, (GDate*)gdb )
|
||||
== 0 ? TRUE : FALSE );
|
||||
|
@ -1869,6 +1869,7 @@ ld_calc_current_instance_num( int monthsPassed, FreqSpec *fs )
|
||||
* - Escrow-diverted repayments cause new Txns w/in their
|
||||
* SX. [Assets->Escrow, Escrow->(Expense|Liability)]
|
||||
**/
|
||||
#if 0
|
||||
static
|
||||
void
|
||||
new_ld_create_sxes( LoanDruidData *ldd )
|
||||
@ -1884,6 +1885,7 @@ new_ld_create_sxes( LoanDruidData *ldd )
|
||||
* . thisSX += txns
|
||||
*/
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static
|
||||
|
@ -364,7 +364,7 @@ matchmap_store_destination (GncImportMatchMap *matchmap,
|
||||
{
|
||||
GncImportMatchMap *tmp_matchmap = NULL;
|
||||
Account *dest;
|
||||
char *descr, *memo;
|
||||
const char *descr, *memo;
|
||||
g_assert (trans_info);
|
||||
|
||||
/* This will store the destination account of the selected match if
|
||||
|
@ -27,6 +27,7 @@
|
||||
"strings" to Gnucash accounts in a generic manner.
|
||||
@author Copyright (C) 2002 Derek Atkins <derek@ihtfp.com>
|
||||
*/
|
||||
#include <string.h>
|
||||
#include "import-match-map.h"
|
||||
#include "kvp_frame.h"
|
||||
|
||||
|
@ -39,7 +39,9 @@ static gboolean gnc_formula_cell_enter( BasicCell *_cell,
|
||||
int *start_selection,
|
||||
int *end_selection );
|
||||
|
||||
#if 0
|
||||
static void gnc_formula_cell_leave( BasicCell *_cell );
|
||||
#endif
|
||||
|
||||
static void gnc_formula_cell_modify_verify( BasicCell *_cell,
|
||||
const GdkWChar *change,
|
||||
@ -98,6 +100,7 @@ gnc_formula_cell_enter( BasicCell *_cell,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static
|
||||
void
|
||||
gnc_formula_cell_leave( BasicCell *_cell )
|
||||
@ -108,6 +111,7 @@ gnc_formula_cell_leave( BasicCell *_cell )
|
||||
str = fc->cell.value;
|
||||
gnc_basic_cell_set_value_internal( &fc->cell, str );
|
||||
}
|
||||
#endif
|
||||
|
||||
static
|
||||
void
|
||||
@ -128,7 +132,7 @@ gnc_formula_cell_modify_verify( BasicCell *_cell,
|
||||
int i;
|
||||
|
||||
DEBUG( "%s, %d, %s, %d, %d, %d, %d",
|
||||
change, change_len, newval, newval_len,
|
||||
(gchar *)change, change_len, (gchar *)newval, newval_len,
|
||||
*cursor_position, *start_selection, *end_selection );
|
||||
|
||||
/* accept the newval string if user action was delete */
|
||||
|
Loading…
Reference in New Issue
Block a user