curl-library
[PATCH] Statement not reachable-warning
From: Tor Arntsen <tor_at_spacetec.no>
Date: Mon, 26 Apr 2004 13:10:26 +0200
Date: Mon, 26 Apr 2004 13:10:26 +0200
This tiny patch should fix one of the 'Statement not reachable'-warnings
(e.g. http://curl.haxx.se/auto/log.cgi?id=20040426121247-18619)
-- cc-1110 cc: REMARK File = ../../curl/lib/ssluse.c, Line = 342 The indicated statement is not reachable. break; -- There are others, but this diff is for just one of them. -Tor --- Index: lib/ssluse.c =================================================================== RCS file: /repository/curl/lib/ssluse.c,v retrieving revision 1.95 diff -u -p -r1.95 ssluse.c --- lib/ssluse.c 20 Apr 2004 07:53:24 -0000 1.95 +++ lib/ssluse.c 26 Apr 2004 11:06:17 -0000 @@ -335,11 +335,11 @@ int cert_stuff(struct connectdata *conn, return 0; } } + break; #else failf(data, "file type ENG for private key not supported\n"); return 0; #endif - break; default: failf(data, "not supported file type for private key\n"); return 0;Received on 2004-04-26