aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-08-28 21:42:07 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-09-03 19:53:56 +0200
commit8ecaee13f70a2062e88a977c950a65d3a2de560f (patch)
tree196e4dfe1df8267738355a6b657ceff5fece0226 /src/rest.cpp
parent8e9f85141506870e691ab66d6b37ff94d902ff69 (diff)
downloadbitcoin-8ecaee13f70a2062e88a977c950a65d3a2de560f.tar.xz
Increase signal to noise in appveyor build output by reducing the MSVC warning count from 12 to 4 (12 is assuming the changes in #14086 are also implemented).
This makes it easier to spot errors or more important warnings in the verbose appveyor output. See https://github.com/bitcoin/bitcoin/pull/14086#issuecomment-416610313 plus discussion for context.
Diffstat (limited to 'src/rest.cpp')
-rw-r--r--src/rest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.cpp b/src/rest.cpp
index 12358cf50d..6ba15172fa 100644
--- a/src/rest.cpp
+++ b/src/rest.cpp
@@ -464,7 +464,7 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart)
oss >> fCheckMemPool;
oss >> vOutPoints;
}
- } catch (const std::ios_base::failure& e) {
+ } catch (const std::ios_base::failure&) {
// abort in case of unreadable binary data
return RESTERR(req, HTTP_BAD_REQUEST, "Parse error");
}