mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
Silence GCC warning.
* libguile/fports.c (scm_setvbuf): Initialize 'drained'. GCC 4.9 raises a "may be used uninitialized warning" for 'drained', because it can't tell that 'drained' is initialized anytime NDRAINED > 0.
This commit is contained in:
parent
4338f2f91e
commit
5e793ad851
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ SCM_DEFINE (scm_setvbuf, "setvbuf", 2, 1, 0,
|
||||||
int cmode;
|
int cmode;
|
||||||
long csize;
|
long csize;
|
||||||
size_t ndrained;
|
size_t ndrained;
|
||||||
char *drained;
|
char *drained = NULL;
|
||||||
scm_t_port *pt;
|
scm_t_port *pt;
|
||||||
scm_t_port_internal *pti;
|
scm_t_port_internal *pti;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue