diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-09-21 13:01:06 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-09-21 19:00:00 -0700 |
commit | 90eca7111355e4c6683c1ab10fd07107ea10f6d1 (patch) | |
tree | 8e768531c6191ca8a9b703d24c63d16429633170 /gprofng | |
parent | 8cdbd5231ec096b330ef995cfd496f495e90dc32 (diff) | |
download | gdb-90eca7111355e4c6683c1ab10fd07107ea10f6d1.zip gdb-90eca7111355e4c6683c1ab10fd07107ea10f6d1.tar.gz gdb-90eca7111355e4c6683c1ab10fd07107ea10f6d1.tar.bz2 |
gprofng: fix -Wduplicated-cond warning
gprofng/ChangeLog
2022-09-21 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
* src/collctrl.cc: Fix -Wduplicated-cond warning.
Diffstat (limited to 'gprofng')
-rw-r--r-- | gprofng/src/collctrl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprofng/src/collctrl.cc b/gprofng/src/collctrl.cc index 48c65ff..04e3e57 100644 --- a/gprofng/src/collctrl.cc +++ b/gprofng/src/collctrl.cc @@ -760,7 +760,7 @@ Coll_Ctrl::get_collect_args () *p++ = strdup ("-s"); if (synctrace_thresh < 0) *p++ = strdup ("calibrate"); - else if (synctrace_thresh < 0) + else if (synctrace_thresh == 0) *p++ = strdup ("all"); else *p++ = dbe_sprintf ("%d", synctrace_thresh); |