aboutsummaryrefslogtreecommitdiff
path: root/CMake/CurlCheckCSourceCompiles.cmake
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2013-08-19 01:01:26 -0700
committerDaniel Stenberg <daniel@haxx.se>2013-08-20 11:16:38 +0200
commit09ddb1d61cdb9ee11ebf481b29dac1be8f0ab848 (patch)
treeace9f4003112c6c6860bf4ac89982b4c0f7e6e3f /CMake/CurlCheckCSourceCompiles.cmake
parent15f76bf7bb92b315799541b0e5127c8d22a50733 (diff)
url: handle exceptional cases first in parse_url_login()
Instead of nesting "if(success)" blocks and leaving the reader in suspense about what happens in the !success case, deal with failure cases early, usually with a simple goto to clean up and return from the function. No functional change intended. The main effect is to decrease the indentation of this function slightly.
Diffstat (limited to 'CMake/CurlCheckCSourceCompiles.cmake')
0 files changed, 0 insertions, 0 deletions