silence a `bcheck' warning `read from uninitialized memory' (bison yylval)

This commit is contained in:
rlar 2011-02-11 17:19:25 +00:00
parent 84ca0986a5
commit b523db46f3
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-02-11 Robert Larice
* src/frontend/parse-bison.y :
silence a `bcheck' warning `read from uninitialized memory'
yylval in the bison generated parser is copied,
even when the value is actually unused
2011-02-11 Robert Larice
* src/spicelib/devices/vsrc/vsrcask.c :
add a missing `ask' function for VSRC_TRRANDOM

View File

@ -98,6 +98,11 @@
%left '[' ']'
%left TOK_LRANGE TOK_RRANGE
%initial-action /* initialize yylval */
{
$$.num = 0.0;
};
%%
/*