mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2811 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4ecaf2fb3c
commit
10f87e10d0
@ -295,7 +295,7 @@ gncPostFileOpen (const char * filename)
|
|||||||
void
|
void
|
||||||
gncFileOpen (void)
|
gncFileOpen (void)
|
||||||
{
|
{
|
||||||
char * newfile;
|
const char * newfile;
|
||||||
|
|
||||||
if (!gncFileQuerySave ())
|
if (!gncFileQuerySave ())
|
||||||
return;
|
return;
|
||||||
@ -407,7 +407,8 @@ gncFileSaveAs (void)
|
|||||||
{
|
{
|
||||||
Session *newsess;
|
Session *newsess;
|
||||||
AccountGroup *oldgrp;
|
AccountGroup *oldgrp;
|
||||||
char *filename, *newfile;
|
const char *filename;
|
||||||
|
char *newfile;
|
||||||
AccountGroup *newgrp;
|
AccountGroup *newgrp;
|
||||||
char * oldfile;
|
char * oldfile;
|
||||||
char buf[BUFSIZE];
|
char buf[BUFSIZE];
|
||||||
|
@ -301,7 +301,7 @@ static void
|
|||||||
gnc_report_export(ReportData *report_data)
|
gnc_report_export(ReportData *report_data)
|
||||||
{
|
{
|
||||||
GtkWindow *parent;
|
GtkWindow *parent;
|
||||||
char *export_filename;
|
const char *export_filename;
|
||||||
struct stat file_status;
|
struct stat file_status;
|
||||||
FILE *export_dest;
|
FILE *export_dest;
|
||||||
char *message;
|
char *message;
|
||||||
|
Loading…
Reference in New Issue
Block a user