Initialize variable to silence compiler warnings
This commit is contained in:
parent
a1a241b013
commit
ae2ac3c0db
1 changed files with 3 additions and 3 deletions
|
|
@ -467,7 +467,7 @@ static TSQuantifier quantifier_mul(
|
|||
TSQuantifier left,
|
||||
TSQuantifier right
|
||||
) {
|
||||
TSQuantifier result;
|
||||
TSQuantifier result = Zero; // initialized to make compiler happy, but all cases should be covered below!
|
||||
switch (left)
|
||||
{
|
||||
case Zero:
|
||||
|
|
@ -527,7 +527,7 @@ static TSQuantifier quantifier_join(
|
|||
TSQuantifier left,
|
||||
TSQuantifier right
|
||||
) {
|
||||
TSQuantifier result;
|
||||
TSQuantifier result = Zero; // initialized to make compiler happy, but all cases should be covered below!
|
||||
switch (left)
|
||||
{
|
||||
case Zero:
|
||||
|
|
@ -599,7 +599,7 @@ static TSQuantifier quantifier_add(
|
|||
TSQuantifier left,
|
||||
TSQuantifier right
|
||||
) {
|
||||
TSQuantifier result;
|
||||
TSQuantifier result = Zero; // initialized to make compiler happy, but all cases should be covered below!
|
||||
switch (left)
|
||||
{
|
||||
case Zero:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue