[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: f_basic.nw
User: ahvezda
Date: 05/03/12 18:28:57
Modified: . f_basic.nw o_complex_basic.nw
Log:
Fixed some compiler warnings
Revision Changes Path
1.15 +4 -4 eda/geda/devel/libgeda/noweb/f_basic.nw
(In the diff below, changes in quantity of whitespace are not shown.)
Index: f_basic.nw
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/f_basic.nw,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- f_basic.nw 14 Feb 2005 22:32:00 -0000 1.14
+++ f_basic.nw 12 Mar 2005 23:28:57 -0000 1.15
@@ -86,10 +86,10 @@
f_open(TOPLEVEL *w_current, char *filename)
{
int opened=FALSE;
- char *full_filename;
- char *full_rcfilename;
- char *file_directory;
- char *saved_cwd;
+ char *full_filename = NULL;
+ char *full_rcfilename = NULL;
+ char *file_directory = NULL;
+ char *saved_cwd = NULL;
/* has the head been freed yet? */
/* probably not hack PAGE */
1.25 +1 -1 eda/geda/devel/libgeda/noweb/o_complex_basic.nw
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_complex_basic.nw
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/o_complex_basic.nw,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- o_complex_basic.nw 19 Feb 2005 23:27:32 -0000 1.24
+++ o_complex_basic.nw 12 Mar 2005 23:28:57 -0000 1.25
@@ -926,7 +926,7 @@
o_complex_save(OBJECT *object)
{
int selectable;
- char *buf;
+ char *buf = NULL;
if (object->sel_func != NULL)
selectable = 1;