Descriptionwin: Remove a few instances of the "goto error" pattern.
This makes the code simpler, and also fixes a bunch of warnings that look like:
goto done;
^
..\..\remoting\host\win\rdp_client_window.cc(331,14) :
note(clang): jump bypasses variable initialization
const LONG kDesiredFlags = WTS_PERF_ENABLE_ENHANCED_GRAPHICS |
^
No intended behavior change.
BUG=505296
Committed: https://crrev.com/e03b42a70818ae8b0edb3d40fcdb6df9cdc20fd5
Cr-Commit-Position: refs/heads/master@{#338720}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : . #Patch Set 6 : . #Patch Set 7 : . #
Total comments: 1
Messages
Total messages: 9 (3 generated)
|