projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61bb17f
)
Removed unneeded variable (#44896)
author
N
<71219152+PokeCodec@users.noreply.github.com>
Fri, 5 Feb 2021 16:28:32 +0000
(11:28 -0500)
committer
GitHub
<noreply@github.com>
Fri, 5 Feb 2021 16:28:32 +0000
(17:28 +0100)
src/native/eventpipe/ds-server.c
patch
|
blob
|
history
diff --git
a/src/native/eventpipe/ds-server.c
b/src/native/eventpipe/ds-server.c
index
212c47c
..
5e58228
100644
(file)
--- a/
src/native/eventpipe/ds-server.c
+++ b/
src/native/eventpipe/ds-server.c
@@
-195,8
+195,7
@@
ds_server_init (void)
ds_ipc_advertise_cookie_v1_init ();
// Ports can fail to be configured
- bool any_errors = !ds_ipc_stream_factory_configure (server_error_callback_create);
- if (any_errors)
+ if (!ds_ipc_stream_factory_configure (server_error_callback_create))
DS_LOG_ERROR_0 ("At least one Diagnostic Port failed to be configured.\n");
if (ds_ipc_stream_factory_any_suspended_ports ()) {