Commit e471d4e6 authored by Etienne Renault's avatar Etienne Renault

scanaut: add missing braces to please -Wdangling-else

* spot/parseaut/scanaut.ll: here.
parent 092e3630
/* -*- coding: utf-8 -*-
** Copyright (C) 2014, 2015 Laboratoire de Recherche et Développement
** Copyright (C) 2014, 2015, 2016 Laboratoire de Recherche et Développement
** de l'Epita (LRDE).
**
** This file is part of Spot, a model checking library.
......@@ -208,10 +208,12 @@ identifier [[:alpha:]_][[:alnum:]_.-]*
lbtt_t = false;
if (end)
while (int c = *end++)
if (c == 's')
lbtt_s = true;
else // c == 't'
lbtt_t = true;
{
if (c == 's')
lbtt_s = true;
else // c == 't'
lbtt_t = true;
}
if (!lbtt_t)
lbtt_s = true;
if (lbtt_states == 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment