cnf_stuff.c:169: warning: function returns address of local variable
This commit is contained in:
parent
612c4964a4
commit
a2ca89808a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2677
11
cad/chipmunk/files/patch-ab
Normal file
11
cad/chipmunk/files/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- until/V1.2/cnf_stuff.c.orig Mon Feb 5 21:12:59 1996
|
||||
+++ until/V1.2/cnf_stuff.c Mon Feb 5 21:08:08 1996
|
||||
@@ -147,7 +147,7 @@
|
||||
Local char *getPlainWord(cnfBuf *cb)
|
||||
{
|
||||
/* return the next word */
|
||||
- char s[256];
|
||||
+ static char s[256];
|
||||
long p;
|
||||
|
||||
skip_blanks(cb);
|
Loading…
Reference in New Issue
Block a user