Skip to content

coverity 1021925: Missing break in switch - #1782

Merged
gtenev merged 1 commit into
apache:masterfrom
gtenev:coverity_1021925
May 8, 2017
Merged

coverity 1021925: Missing break in switch#1782
gtenev merged 1 commit into
apache:masterfrom
gtenev:coverity_1021925

Conversation

@gtenev

@gtenev gtenev commented May 8, 2017

Copy link
Copy Markdown
Contributor

Problem:
CID 1021925 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value TS_EVENT_VCONN_WRITE_COMPLETE is not terminated by a 'break' statement.

Solution:
It was intended not to have a break (not a bug), so refactored the code to make coverity happy.

Problem:
  CID 1021925 (#1 of 1): Missing break in switch (MISSING_BREAK)
  unterminated_case: The case for value TS_EVENT_VCONN_WRITE_COMPLETE is not terminated by a 'break' statement.

Solution:
  It was intended not to have a break (not a bug), so refactored the code to make coverity happy.
@gtenev gtenev added the Coverity label May 8, 2017
@gtenev gtenev self-assigned this May 8, 2017
@gtenev
gtenev requested a review from bryancall May 8, 2017 17:37
@atsci

atsci commented May 8, 2017

Copy link
Copy Markdown

@atsci

atsci commented May 8, 2017

Copy link
Copy Markdown

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/394/

@atsci

atsci commented May 8, 2017

Copy link
Copy Markdown

@bryancall bryancall added this to the 8.0.0 milestone May 8, 2017
@atsci

atsci commented May 8, 2017

Copy link
Copy Markdown

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/2077/

@atsci

atsci commented May 8, 2017

Copy link
Copy Markdown

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1970/

@atsci

atsci commented May 8, 2017

Copy link
Copy Markdown

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/507/

@gtenev
gtenev merged commit 31be131 into apache:master May 8, 2017
@atsci

atsci commented May 8, 2017

Copy link
Copy Markdown

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/640/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants