Commit fa5b54d1 authored by Reini Urban's avatar Reini Urban
Browse files

fix tests -Wmultistatement-macros

newer gcc (9):
test_private.h:329:5: warning: macro expands to multiple statements [-Wmultistatement-macros]
     ind = strcmp((s1), (s2));                                                  \
     ^~~
test_gets_s.c:81:10: note: in expansion of macro 'EXPSTR'
     else EXPSTR(sub, "1234");
          ^~~~~~
test_gets_s.c:81:5: note: some parts of macro expansion are not guarded by this 'else' clause
     else EXPSTR(sub, "1234");
parent 4e145a40
Supports Markdown
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