diff options
author | Steve Holme <steve_holme@hotmail.com> | 2016-06-04 21:52:08 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2016-06-04 21:52:08 +0100 |
commit | 61c92c7850cb83c572827dc348247b8b9b57c25a (patch) | |
tree | b5813b894017a80a1ce46211fbeddd1c5ef9c779 | |
parent | 332e8d6164bfb33dfae19704ef8c3e851a71b2d3 (diff) |
connect.c: Fixed compilation warning from commit 332e8d6164
connect.c:952:5: warning: suggest explicit braces to avoid ambiguous 'else'
-rw-r--r-- | lib/connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index dcfb4b469..9431a9720 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -949,12 +949,13 @@ void Curl_sndbufset(curl_socket_t sockfd) static int detectOsState = DETECT_OS_NONE; - if(detectOsState == DETECT_OS_NONE) + if(detectOsState == DETECT_OS_NONE) { if(Curl_verify_windows_version(6, 0, PLATFORM_WINNT, VERSION_GREATER_THAN_EQUAL)) detectOsState = DETECT_OS_VISTA_OR_LATER; else detectOsState = DETECT_OS_PREVISTA; + } if(detectOsState == DETECT_OS_VISTA_OR_LATER) return; |