mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix warning about unused static function if glob.h is unavailable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14826 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
5d67b7ecfd
commit
2d83ad47d3
@ -122,6 +122,7 @@ gnc_dpfg_next_glob(GNCDruidProvider* prov)
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_GLOB_H
|
||||||
static int
|
static int
|
||||||
gnc_dpfg_file_err(const char *path, int err)
|
gnc_dpfg_file_err(const char *path, int err)
|
||||||
{
|
{
|
||||||
@ -132,6 +133,7 @@ gnc_dpfg_file_err(const char *path, int err)
|
|||||||
|
|
||||||
return (res == GTK_RESPONSE_OK ? 0 : 1);
|
return (res == GTK_RESPONSE_OK ? 0 : 1);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Return TRUE if we have a valid file... */
|
/* Return TRUE if we have a valid file... */
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user