]> Savannah Git Hosting - gnulib.git/commit
test-userspec.c: do not trigger gcc's new -Wmisleading-indentation
authorJim Meyering <meyering@fb.com>
Thu, 17 Mar 2016 17:35:08 +0000 (10:35 -0700)
committerJim Meyering <meyering@fb.com>
Thu, 17 Mar 2016 17:37:51 +0000 (10:37 -0700)
commitd78ae1175b3bb16ecc5b494e61e0a19b30334378
tree1f7d0204fdbd8fb7978afdf7a71eeafc7e2f05de
parent488c58283af7ec4e49db6b3f32362c1e323606ce
test-userspec.c: do not trigger gcc's new -Wmisleading-indentation

* tests/test-userspec.c (main): Remove unnecessary braces and fix
misleading indentation. Here is the diagnostic gcc-6.0-to-be issued:
  test-userspec.c:176:9: error: statement is indented as if it were \
            guarded by... [-Werror=misleading-indentation]
           {
           ^
  test-userspec.c:173:7: note: ...this 'if' clause, but it is not
         if (!diag && !T[i].result)
         ^~
ChangeLog
tests/test-userspec.c