bugmake - Bugs: bug #49865, read.c:2681: possible missing...

 
 

bug #49865: read.c:2681: possible missing break ?

Submitted by:  David Binderman <dcb314>
Submitted on:  Fri 16 Dec 2016 03:58:03 PM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: NoneOperating System: None
Fixed Release: SCMTriage Status: Small Effort

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 26 Dec 2016 02:29:13 PM UTC, comment #1:

Fix pushed. Thanks for the report!

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Fri 16 Dec 2016 03:58:03 PM UTC, original submission:

read.c:2681:10: warning: this statement may fall through [-Wimplicit-fallthrough=]

Source code is

case '!':
if (*p == '=')
{
++p;
wtype = w_varassign;
break;
}

default:

Suggest add the missing break or document the fall through.

David Binderman <dcb314>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by dcb314 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Dec 2016 02:29:13 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>SCM
      Triage StatusNone=>Small Effort

    Back to the top


    Powered by Savane 3.1-cleanup1