This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 2bea8ce coverity 1021700: Uninitialized pointer field
2bea8ce is described below
commit 2bea8ce4886452736d516e6bdf0159594b662be8
Author: Bryan Call <[email protected]>
AuthorDate: Tue Nov 7 14:23:34 2017 -0800
coverity 1021700: Uninitialized pointer field
---
proxy/congest/CongestionTest.cc | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/proxy/congest/CongestionTest.cc b/proxy/congest/CongestionTest.cc
index 9860604..d9b6275 100644
--- a/proxy/congest/CongestionTest.cc
+++ b/proxy/congest/CongestionTest.cc
@@ -185,20 +185,15 @@ struct CCFailHistoryTestCont : public Continuation {
enum {
FAIL_WINDOW = 300,
};
+
enum {
SIMPLE_TEST,
MULTIPLE_THREAD_TEST,
ROTATING_TEST,
};
- int test_mode;
- int final_status;
- bool complete;
- RegressionTest *test;
+
int mainEvent(int event, Event *e);
- CCFailHistoryTestCont()
- : Continuation(new_ProxyMutex()), test_mode(SIMPLE_TEST), final_status(0),
complete(false), failEvents(NULL), entry(NULL)
- {
- }
+ CCFailHistoryTestCont() : Continuation(new_ProxyMutex()) {}
CCFailHistoryTestCont(Ptr<ProxyMutex> _mutex, RegressionTest *_test)
: Continuation(_mutex),
@@ -236,10 +231,15 @@ struct CCFailHistoryTestCont : public Continuation {
time_t time;
Link<FailEvents> link;
};
- InkAtomicList *failEvents;
- CongestionControlRecord *rule;
- CongestionEntry *entry;
- Action *pending_action;
+
+ int test_mode = SIMPLE_TEST;
+ int final_status = 0;
+ bool complete = false;
+ RegressionTest *test = nullptr;
+ InkAtomicList *failEvents = nullptr;
+ CongestionControlRecord *rule = nullptr;
+ CongestionEntry *entry = nullptr;
+ Action *pending_action = nullptr;
};
void
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].