Fix compilation error with clang in gdb/testsuite/gdb.trace/tspeed.c
authorGary Benson <gbenson@redhat.com>
Mon, 20 Apr 2020 14:05:01 +0000 (15:05 +0100)
committerGary Benson <gbenson@redhat.com>
Mon, 20 Apr 2020 14:06:13 +0000 (15:06 +0100)
commitfa93cc8f35dbed69c3c47aa803686d87f2143779
tree7baf18feabfb93979559418c68752b6bd17e9419
parente0c45f305525bbc3fd95024e4517a52d1c371868
Fix compilation error with clang in gdb/testsuite/gdb.trace/tspeed.c

Clang fails to compile the above file, with the following error:
  warning: using the result of an assignment as a condition without
  parentheses [-Wparentheses]

This prevents the following testcase from executing:
  gdb.trace/tspeed.exp
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/tspeed.c
This page took 0.02619 seconds and 4 git commands to generate.