gprofng: fix -Wduplicated-cond warning
gprofng/ChangeLog 2022-09-21 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> * src/collctrl.cc: Fix -Wduplicated-cond warning.
This commit is contained in:
parent
8cdbd5231e
commit
90eca71113
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue