]> source.dussan.org Git - rspamd.git/commit
[Minor] silence -Wmisleading-indentation in contrib/snowball/
authorChristian Göttsche <cgzones@googlemail.com>
Thu, 16 Jan 2020 13:57:46 +0000 (14:57 +0100)
committerChristian Göttsche <cgzones@googlemail.com>
Thu, 16 Jan 2020 18:37:12 +0000 (19:37 +0100)
commitaa13e41e5fd47f386f308cfe38561cfa94c2b16e
tree7c5897efb5356e04926969b8e501e0bfa508bb92
parentf88b044583900b1f694e5d2c01516cd71b2a1008
[Minor] silence -Wmisleading-indentation in contrib/snowball/

../contrib/snowball/compiler/analyser.c: In function ‘check_name_type’:
../contrib/snowball/compiler/analyser.c:210:19: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  210 |         case 'r': if (p->type == t_routine ||
      |                   ^~
../contrib/snowball/compiler/analyser.c:211:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  211 |                       p->type == t_external) return; break;
      |                                                      ^~~~~
../contrib/snowball/compiler/analyser.c: In function ‘read_program’:
../contrib/snowball/compiler/analyser.c:859:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  859 |                     if (q->used && q->definition == 0) error4(a, q); break;
      |                     ^~
../contrib/snowball/compiler/analyser.c:859:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  859 |                     if (q->used && q->definition == 0) error4(a, q); break;
      |                                                                      ^~~~~
../contrib/snowball/compiler/analyser.c:861:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  861 |                     if (q->used && q->grouping == 0) error4(a, q); break;
      |                     ^~
../contrib/snowball/compiler/analyser.c:861:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  861 |                     if (q->used && q->grouping == 0) error4(a, q); break;
      |                                                                    ^~~~~
contrib/snowball/compiler/analyser.c